Hey, make sure you get the case right - IE doesnt play nicely with
wrong cases (ie lowercase instead of uppercase) in IDs and classes.


On Oct 31, 12:37 pm, the_woodsman <[EMAIL PROTECTED]> wrote:
> 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