• *****
  • 329
    • NedDate.nl
blinking cursor input field
« on: January 25, 2013, 11:44:49 AM »
When you come on a site and must enter your name and password I find it very handy when i can  directly begin typing (like on google first page for example)

You can do this whith the following javasnippet:
Code: [Select]

{literal}<script type="text/javascript">

Put it ad the very button of your page (in this case feedback.tpl)
frmContact = the name of the form
txttitle = the name of the inputfield where you want the curser to appear

It works on any form you have
osDate 2.19a | PHP 5.3.8 | MySQL  5.0.91