$('query').html(a) - Method
dj(query).html(a); This Function will return the innerHTML of element. Syntax :-
And if You want to set innerHTML of any element then pass the html in parameter of the html()
Syntax :-
Parameters => 1
dj('#id').html();
And if You want to set innerHTML of any element then pass the html in parameter of the html()
Syntax :-
dj('#id').html('<h1> New HTML Here </h1>');
The HTML of the Selected Element will be Changed.
More About .html(a) Method.

Post a Comment