This is basic.
How do I get the value 'This is my name' of the above span?
<div id='item1'> <span>This is my name</span> </div>
I think this should be a simple example:
$('#item1 span').text();
or
$('#item1 span').html();
1.4m articles
1.4m replys
5 comments
57.0k users