jquery - Found elements in a string -
say have script
$.get('test.html', function(data){ //data });
how can find div specific class inside data
??
use data
context argument $(selector, context)
, this:
$.get('test.html', function(data){ $("div.someclass", data) });
Comments
Post a Comment