PDA

View Full Version : JS form validation not working in IE8 and IE9



Mr.Canuck
05-23-2014, 03:20 PM
The contact form on this page: Demo Landing Page (http://kmkwebdesign.ca/clients/VenU/) works fine, but in ie8 and ie9 the JS form validation doesn't work. The form validation works fine in ie11 (just not 8 and 9). Does anyone know why that may be, and a possible fix? I'm using the bootstrapValidator.js script for validation. Thanks.

felgall
05-23-2014, 11:42 PM
The link you provided gives a not found error.

The most likely cause for IE8 and 9 to not work the same as other browsers is because IE8 only supports JScript and IE9 supports both JavaScript and some jScript. There are some instances where you need to include jScript conditional comments or use feature sensing to work out which version of code to use so as to use different code for those browsers.

If you open the browser error console or use the built in debugger you should be able to determine which statement isn't working.