Question:Which of the following syntax is correct for setting attribute value to an element? 

A $(selector).attr(element,value); 

B $(selector).attr(attribute,value); 

C $(selector).attribute(element,value); 

D $(selector).attr(value); 

+ Answer
+ Report
Total Preview: 763

Copyright © 2024. Powered by Intellect Software Ltd