Posted by Ross Hulford on 03/07/05 19:01
I want to set focus on a text area with javascript if the entry by the user is not what I want. This is what i have so far..... <?php if (isset($submitted){ if(empty($name)) { $fname_error = " *Please Enter your firstname or initial"; //the code to set focus to the textbox should go here } } ?>
[Back to original message]
Copyright © 2005-2006 Powered by Custom PHP Programming