GMgKe586q6suSQnyqZLlGCooeWM
Learn To Program
Increase Your Knowlegde and Build Your Skill!
Pages
Home
Me
Search
Wednesday, December 22, 2010
attr jQuery
Here's a bit of code on how to use attr:
var id = $('#satu').attr('id');
$('#dua').attr('id','lola');
$('#tiga').attr({'id':'empat','class':four','title':
'A Sample Of Text'});
// Object literal
attr jQuery
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment