Translate

Thursday 3 October 2013

Onload pointer in field using Javascript

Screenshot:

                                                
index.php:

<body id="bdy" onload="document.contactform.name.focus();"></body>
contactform-->formname,
name-->fieldname


onload="document.contactform.name.focus();" we have to put this coding in inside the <body>tag.
contactform-->formname
name       -->fieldname      

1 comment: