Which is the correct jQuery statement to get the value "href" attribute having id "top"?
Options:
Explanation:
The jQuery statement
$("#top").attr("href") will return the the value
href attribute having id "top".
Tags:
jQuery
Answer:
Which is the correct jQuery statement to get the value "href" attribute having id "top" $("#top").attr("href").