I have developed Java web application with javascripts, jsp/servlets which works well with IE8 but when tested on IE11 many of the functionalities not working for eg:- <input type="submit" value="Login" onclick="javascript:return foo()"> is not passing the Button value to next page which I'm submitting through another javascript method. Lot other problems. Do we have any process to change the code to make it compatible with IE11 other than, Adding the host name in IE11 'Compatibility View Setting'. Please help.
0
votes
onclick="javascript:return foo()"=>onclick="return foo()". You don't needjavascript:in onclick methods, as they have to be javascript. You only needjavascript:for like<a href='javascript:foo()'>foo</a>because its not normal for a link to call javascript so you have to specify. - developerwjk