Hi,
I hope someone has some tips/advice on this one!

I've noticed my code has an issue in IE.

I try to apply JQ to a string, as so:

$(htmlString).find(someSelector)   //htmlString is basically an entire
page, someSelector is an ID

But IE never finds the elements, even though FF does. I assume putting
strings into $() isn't the best practice?

I then tried to inject the htmlString directly into the DOM, so I
could definitely parse it with JQ once it was part of the page, but
this was even worse: scripts started to reload etc, real bad stuff.

Has anyone come across this before? Is there an easy way to do this in
IE that I'm missing?

Thanks in advance :)

Reply via email to