hello everyone:
I have a problem,I want to create onkeypress event.I use createEvent("UIEvent"),and use initUIEvent to initialize the event,and use dispatchEvent to fire the event .but when I use dispathEvent to fire the onkeypress event.
It does not work.I use safari 3.0.3.
please help me to resolve this problem.
I have a problem,I want to create onkeypress event.I use createEvent("UIEvent"),and use initUIEvent to initialize the event,and use dispatchEvent to fire the event .but when I use dispathEvent to fire the onkeypress event.
It does not work.I use safari 3.0.3.
please help me to resolve this problem.