We developed a firefox plugin to fill a form with some data from an external source. The plugin has a keyboard shortcut "ALT+SHIFT+L"

What we wanna do is, put a button to the page and create a keypress event on button's click event. So when we click the button, our plugin should fill the form.

How can we do this work with jquery.

p.s. our plugin already has a button to fill the form, but it stays in the navigation bar of firefox. We are using r-kiosk plugin to use firefox full screen, such as a kiosk app. So we need to put a button into our page to trigger keypress.