Hi I have made a code in php,

1) Now the action is on the click of submit button, can i submit it using the keyboard input enter.


<td><input type="submit" value="LOAD NEXT AND SAVE" name="loadnextsave"/></td>


2) To open a new page can i use the keyboard shortcut key instead of clicking on the page.(Open url icon)

<td><inPUT TYPE="BUTtoN" VALUE="Open Url" ONCLICK="window.open('<?php echo $desurl; ?>')"></td></tr>

Member Avatar for diafol

This isn't php. But you can use access keys - no need for js. They are supported slightly differently in diff versions of HTML and different browsers and OSes need different keystroke combinations to use them:

http://en.wikipedia.org/wiki/Access_key

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.