I created an ASP.net web application last year. I've received a bug report that's troubling me.
There is an HTML SELECT element that appears in a web page for all users. The OPTION elements are populated using jQuery. They have no
data- attributes or anything unusual, just inner text and
The bug report I've received (and reproduced) says that the program hangs and the "Stop running this script?" message appears when the user clicks on the SELECT element. The only thing I can see that appears to be different between this user and other users is that for this user, the SELECT element contains almost 2000 OPTIONs. However, I know of no reason this should cause the "Stop running this script?" message to appear.
I've tried inserting breakpoints throughout the .js file I've written for the page, but none of them are hit in this circumstance. How can I find what code is running and causing the program to hang when the user clicks on the SELECT element?
BTW, I believe that my user is using IE8 with on option to upgrade or use any other browser.
Possible reasons can be
- User is having some plugin installed that is monitoring the SELECT change
- User is having the IE debugger running. This will make the script slow
** You should consider changing that SELECT to jQuery autocomplete or something similar.