in jQuery statement:
$.get(someurl, function (data) {
###
});
I receiving something like:
<div class="somediv">john smith</div>
question is: how to jQuery read this data html $(“div.somediv”).text() in function response where ### is placed?
I need to read div text through div class name, because I can have a multiple divs with different class names
then this should just work
if data has a bunch of other html you can always filter after making it a jQuery object
if you need to do a selection later on, you can add it to the body like this
and later select like