Learn To Program
Increase Your Knowlegde and Build Your Skill!
Pages
(Move to ...)
Home
Me
▼
Wednesday, December 22, 2010
css jQuery
To get the value, just type:
var color = $('#satu').css('background-color'); // get the value
$('#dua').css('background-color','red'); // set the value
$('#tiga').css({'color':'blue', 'font-size':'24px',
'background-color':'lime'});
No comments:
Post a Comment
‹
›
Home
View web version
No comments:
Post a Comment