I have used document.createEvent()
to create event in javaScript in my application. I have IE11 on my machine. I have tested the application on my local, and code is working fine, and then I have deployed code change to DEV environment and tested the same on same browser and it's working over there as well. However, when I deployed my application on QC environment, I observed that it was throwing an exception in browser console. So, in QC environment this change is not working.
I have changed to window.event
and then it's working on all the environments.
We have struts based application, deployed on WebSphere app server.
Does anyone have idea why this issue happened? are there any configurations on app server which can cause this issue?
Thanks,
Jay Patel