I have query regarding selected key in JavaScript.
I am developing a sql query editor a web based application. Here users are required to execute the query using a text box. when they execute a query, the ajax functionality fetches the result and displays them.
Now my requirement is that the query should be executed by pressing key combination of ctrl+enter. I know we can achieve keycode of one key, But how for second key ??
the ctrl+enter key combination is the same functionality as when we execute query in oracle database.
i.e. on pressing the correct key combination of ctrl+enter the query should be executed.
And help is appreciated
1 Answer