NetTalk Central

Author Topic: Function Keys  (Read 3316 times)

kevin plummer

  • Hero Member
  • *****
  • Posts: 1195
    • View Profile
    • Production Accounting and Software Payroll
Function Keys
« on: December 08, 2009, 03:10:47 AM »
Hi All,

Is there a way to add function key or accelerator key functionality to my web app?

eg F8 and it either runs some server code or invokes a button with some server code/refresh code etc

eg Alt D to invoke a button with some server code/refresh code etc

Cheers,

Kevin

kevin plummer

  • Hero Member
  • *****
  • Posts: 1195
    • View Profile
    • Production Accounting and Software Payroll
Re: Function Keys
« Reply #1 on: December 08, 2009, 06:17:05 PM »
With a bit of research I have found I can use the JS onKeyPress function to detect keyboard actions.

Would I just add the JS to the Xhtml Tab?

I can also use in HTML accesskey="X". I can't work out how I can attach this to a button.

Cheers,

Kevin