Jump to content

Keypress with ajax


supermerc

Recommended Posts

Hey, im working on a toolbar for a game. Right now i have a function that is like a botton on the toolbar and when you click on it it opens all the pages of the monsters in a new tab.

 

if ( emoIsPage(aLinks.href, 'mobattack.php') == true ){

                    // open new tab

                    getBrowser().addTab(aLinks.href);

                }

 

But I also want that everytime I click m on my keyboard it does the same thing, please someone help me

Link to comment
https://forums.phpfreaks.com/topic/57901-keypress-with-ajax/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.