is it possible in javascript to create shortcuts with sequence like 123,345 instead of combo?

Posted by frankB on Stack Overflow See other posts from Stack Overflow or by frankB
Published on 2010-05-17T17:28:07Z Indexed on 2010/05/17 17:30 UTC
Read the original article Hit count: 174

I already used some script to implement the shortcuts in my web page

but i was wondering if could be possible to associate some combination not syncronic like Ctrl+X but more like a sequence typing 1..2..3 or any other combination to execute a script...

lets assume this example:

you have a long list with numbers:

you could type 3..5...6, so you can go to the item 356 passing trough the item 3 then 35 then 356

more or less like when you type while selecting a select box

i hope it was clear, id not easy to explain...

© Stack Overflow or respective owner

Related posts about JavaScript

Related posts about numbers