dj(query).html(a) - Method



$('query').html(a) - Method









dj(query).html(a); This Function will return the innerHTML of element. 
 Syntax :-

    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.

    Parameters => 1

إرسال تعليق

Post a Comment (0)

أحدث أقدم