Question:Which of the following gets the href attribute of "id1"? 

A $('#id1).attr('href'); 

B $('#id1').getAttribute('href'); 

C $('#id1)[0].attr('href'); 

D All 

+ Answer
+ Report
Total Preview: 651

Copyright © 2025. Powered by Intellect Software Ltd