Skip to main content

IE 10 in IE7 compatibility mode returns error: 'SCRIPT3: Member not found'


Lately I upgraded my Internet Explorer to newer version which is 10, and was quite happy about it, but that doesn't seem to last long, when I tested my site changing the browser mode IE7, specifically using IE10, then jquery have thrown an error saying "member not found" , I was not surprised as such issues I have seen before as well, and was sure that there was JS code messed up from my side, after scanning through all the methods etc. I was not able to figure out anything, even was not sure what to search on Internet.

After introspecting it was clear that this bug was not coming while I was using IE 7 from IE 9 browser installed, it came only after upgrading.

At last, I found the root cause, it was not the jquery, not my JS code, not the custom dropdowns, even not all the pages were throwing this error, this was due to the jquery validate plugin, and thanks to jester12345 who acknowledged the bug at https://github.com/jzaefferer/jquery-validation/issues/845 and gave pointers, but before that 4 productive hours were already burnt with absolutely no solution at all.

The workaround is very simple 


Change line 33 of the jquery Validation plugin from:
this.attr( "novalidate", "novalidate" );
to
this.prop( "novalidate", "novalidate" );
and there you go.
May be Microsoft or Jquery gonna do something about it, but it was initially a nightmare. 


Thanks

Comments

Popular posts from this blog

SugarCRM Footer Logo Remove

Hi Googler, Let us discuss about how to remove the SugarCRM Footer logo.. You all are aware of the power of the SugarCRM Tool and also must be very eager to remove the footer in order to make it look more professional. So below mentioned are some tricks for removing the footer from SugarCRM Community edition. 1) O pen-modules/Administration/ updater_utils.php Add-exit() ; in between function check_now() and return . By doing this u can remove 'powered by sugar crm' footer logo. 2) Go to modules/Trackers/Tracker.php, line 128, in the 'logPage' function. Drop the 'echo' statement. 3) Now to root(Sugarfolder)\include\mvc\view\sugarview.php and modify the line array(show header => true, show subpanel => true...........and so on) and make the changes to showfooter=>true to showfooter=>false And then enjoy by making it as your own built tool. As per the requests, make a reply and then I'll post the code and path to let you know how to write a cust...
Merry Christmas

Custom Create React App | Best Practices in Typescript | React >16

Custom Create React App | Best Practices in Typescript | React >16 React app has multiple versions now a days, based on the latest typescript implementation using React 16. Here is a code sample if it helps anyone to Kickstart their project or take "inspiration"  GitHub Project This is a simple app to get gists of user. React app, Single Page, Gist User Data download code in local via -  https://github.com/jatinmarwah/React_Sample Master - latest Stable Develop - ongoing check in (might be unstable) execute command on root folder yarn run build:dev OR npm run build: dev Start app with yarn start OR npm start; GO TO: "localhost:8080" Test with any valid gist username App Tested with user "paulirish" Data validation No extensive data validation is done, pagination is not supported(YET), max result received is 30 Basic validations and error handling is done, app level handling and boundaries can be extended Caution As un-authenticated api is being used, GI...