jquery Programming Glossary: this.input.focus
Simulating a tab keypress using JavaScript http://stackoverflow.com/questions/702585/simulating-a-tab-keypress-using-javascript var event document.createEvent 'KeyboardEvent' event.initKeyEvent keypress true true null false false false false 9 0 this.input.focus 0 .dispatchEvent event And jQuery this.input.focus .trigger type 'keypress' which 9 ...which I took from here . The first.. keypress true true null false false false false 9 0 this.input.focus 0 .dispatchEvent event And jQuery this.input.focus .trigger type 'keypress' which 9 ...which I took from here . The first approach seems to be the best bet but doesn't quite.. give me these errors in firebug under FF3 Permission denied to get property XULElement.popupOpen Break on this error this.input.focus 0 .dispatchEvent event Permission denied to get property XULElement.overrideValue Break on this error this.input.focus 0..
|