Possible Duplicate:
How to query an XML string via DOM in jQuery
DUPLICATE: how-to-query-an-xml-string-via-dom-in-jquery
I have an image gallery which uses PHP to look at text files and then show certain images. Now I want to do this in JavaScript instead with no server side requests.
I have been working in jQuery. Since I cant make .ajax requests, I have tried embedding my text file database into the HTML file. The text file is really XML but I dont want the browser to parse or hide it, so I am embedding it in an HTML comment. Then I parse the comment, and extract the XML. Then I have my database which I can use jQuery selectors on. This is nice, but I cant get it to work in IE - only FF. Also, this seems all too hacky.
Any cleaner ideas how I can do this all client side?