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

Copyright © 2024. Powered by Intellect Software Ltd