Jump to content

Is there a way to force the submission of a key?


joe92

Recommended Posts

Using JavaScript, is there a way to force the submission of a key combination?

 

Reason I ask is because there are a few functions I would like to be able to offer but can't currently find a good/working way to do them, or they have really bad cross browser compatibility issues. E.g. A button to copy the current selection to the clipboard by forcing Ctrl + C, another would be an undo button by forcing Ctrl + Z, and a button to bookmark the current page by forcing Ctrl + D.

 

Thanks for any help,

Joe

I have done. Take the bookmark function I mentioned. The only one I found that seems to work ok (still has problems) wants a licence fee of $25 per website to use and it's not very dynamic :(

 

After exhausting my researching and testing, I wondered about forced key submissions as that would solve all my problems haha. Thanks for letting me know.

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.