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: 773

Copyright © 2025. Powered by Intellect Software Ltd