dj(query).val(a) - Method



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









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

        dj('#id input').val();
        


And if You want to set value of any element then pass the value in parameter of the value()
 Syntax :-

        dj('#id input').val('<h1> New value Here </h1>');
        
The value of the Selected Element will be Changed.
More About .value(a) Method.

    Parameters => 1

Post a Comment

Post a Comment (0)

Previous Post Next Post