faqts : Computers : Programming : Languages : JavaScript : Forms

+ Search
Add Entry AlertManage Folder Edit Entry Add page to http://del.icio.us/
Did You Find This Entry Useful?

0 of 10 people (0%) answered Yes
Recently 0 of 10 people (0%) answered Yes

Entry

How to submit a adobe form by pressing hotkey like F2

Aug 11th, 2006 15:53
David Alden, Keshav MC,


<html>
<script type="text/javascript" language="javascript">
	document.onkeydown = function (evt) {
		if(evt.which == 133 || evt.keyCode == 113){
			// 113 is the keyCode for F2
			// submit your adobe form here
			alert(evt.keyCode);
		}
  	}
</script>
</html>