[jQuery] loading a DOM fragment via ajax
Hello Friends,
say i have a html file containing a #viewPort div, with a series of
divs each containing an h4 tag.
If the file was not external, i would simply select what i need like this:
$('#dsViewport h3');
Now, it is an external file, so my question is: is it possible to
load this file via $.load("myfile.php#dsViewport h3"); or is the
syntax different, or not possible at all ?
Thank you for your insight,
Alexandre