Networking

e.preventDefault Internet Explorer 8 / 9 / 10 – Object doesn’t support property or method ‘preventDefault’

Problem: SCRIPT438: Object doesn’t support property or method ‘preventDefault’ Solution: Applied to: Internet Explorer 9 and Internet Explorer 10 (but it’s similar for the other). Put the following instructions on your javascript code: if (e.preventDefault) { e.preventDefault(); } else { e.returnValue = false; } If you need more information look on microsoft website (http://msdn.microsoft.com/en-us/library/ie/ms534372(v=vs.85).aspx) Best Regards, …

e.preventDefault Internet Explorer 8 / 9 / 10 – Object doesn’t support property or method ‘preventDefault’Leggi altro »