-
SitePoint Enthusiast
per a newsgroup post, I'm using onfocus="form.typenextfieldnamehere.focus()"...
<form name="orderdetail:>
<input type="text" name="calculateprice" size="10" onfocus="orderdetail.visa.focus()">
<input type="checkbox" name="visa" value="yes">Visa</font>
</form>
If the next field is a checkbox/radiobutton, the text in
the calculateprice stays selected and I can even actually
enter the field.
How would I keep the user from being able to set focus
to the calculateprice text field and still set focus instead
to the visa checkbox?
Is this possible with checkboxes/radiobuttons?
I've already tried changing it to a radiobutton and using this:
onfocus="orderdetail.paymenttype[0].focus()" and get the same
result...
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
Bookmarks