Hamid
Hamid

Reputation: 478

Breaking on JScript runtime error : permission denied in IE7 on $(':text')

I'm getting a permission denied error only in IE7, when I'm doing $(':text'). I'm using jQuery-1.6.2 and it's working perfectly fine in all the other browsers and even IE>=8;

Please help...

Thank you.


EDIT:

I just noticed that $(':text') works with jquery-1.4.2

It has stopped working in IE7 since I have upgraded jquery.

Upvotes: 0

Views: 1279

Answers (1)

Keith.Abramo
Keith.Abramo

Reputation: 6965

Have you tried using $("input[type='text']) this is the same query just a lot faster since :text evaluates to *:text which is slow.

Upvotes: 1

Related Questions