can somebody explain to me whats the deffirence between the two examples :
var obj= getElementById (“id1″); //without jquery
var obj= $(“#id1″); // with jquery
is the returned value in both cases are the same object?
Nope, the first returns the element and the second returns a jQuery object containing the element. `$(‘#id1′)` returns the same object as the first.
You must be logged in to reply to this topic.
*May or may not contain any actual "CSS" or "Tricks".