How To Use jQuery To Get Element Value

How can I use jQuery to get value of HTML elements. E.g test test. How can I get content of between “” and “

You can use jQuery method .html() or .text()

var d = $("span").html();
0 0 votes
Article Rating
Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments