Odd Quirk in IE: Function Expected
Hello, I've got the following code in my site's js file:
-
- /** jQuery No Conflict **/
- var j = jQuery.noConflict();
-
- /********* Product Details **********/
-
- // IPR Panel Postback
- j(document).ready(function() {
- // All Radio Buttons in the IPR Selector
- //j(".ipr_options input").each(function() { InitPanelPostback(this); });
- var InputItems = j(".ipr_options input");
- });
As you can see I have a pretty simple jQuery script, I'm initializing the global variable j to replace $ because something else is using the $ token.
This code *works* where it's supposed to, but when I load my main page in debug mode Visual Studio kicks out a "Microsoft JScript Error: Function Expected" on line 11.
As you may notice i had a different line (line 10) before, i tried moving back to something simple (just retrieving the jQuery object) and it still throws this error.
Only one page on my site throws this, and I cannot for the life of my figure out why.
Any ideas?