Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

zengguang

macrumors newbie
Original poster
Oct 18, 2007
3
0
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.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.