I would like to know how or if it is possible to use selectors in an ajax request with jQuery
What I would like to achieve, is something like this
$(".classname").load("something.html $(".classname:contains('some text')").parent()");
In other words I would like to pass a complex selector to the requested page other than just a class or an id.
Can anybody help, or is this just impossible? I can’t seem to find any other thread where this has been asked!
You could use
.getinstead if the selector is complex.