I need insert result from jQuery load to variable.
Content of elemtent with id test on page ajax.html.
$('#result').load('ajax.html #test');
I need insert result from jQuery load to variable.
Content of elemtent with id test on page ajax.html.
$('#result').load('ajax.html #test');
Try using
jQuery.get
instead.Eg.
More or less doing the same as above but simpler: