Hi,

I am making a website that has compatibility for JavaScript being turned off. Currently I have a function that goes through all links on the page and replaces them with "#!{URL}" and then a function that detects when the hash on the page has changed. When the hash changes, it creates a new AJAX request which returns a complete XHTML (All elements including HTML and head).

Now, my question is, how can I filter the document and get a fragment of it, more specifically, by class.

Thank you for any any help.