Greetings and sorry for the off topic post.
On this page: http://essay.sitesbyjoe.com/create_account.asp I'm trying
to set focus on the first field in the form. It should be simple, but I
can't get the darn thing to work!
My javascript:
function create_account_focus() {
var my_field = document.getElementById("first_name");
//alert(my_field);
my_field.focus;
}
My HTML:
<div>
<label for="first_name">First Name</label>
<input id="first_name" name="first_name" type="text"
value="<%=request("first_name")%>" class="stretch" />
</div>
Any clue as to why this wouldn't be working? Makes no darn sense!
Thanks!
--
Joseph R. B. Taylor
Sites by Joe, LLC
http://sitesbyjoe.com
(609)335-3076
[EMAIL PROTECTED]
*******************************************************************
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: [EMAIL PROTECTED]
*******************************************************************begin:vcard
fn:Joseph R. B. Taylor
n:Taylor;Joseph
org:Sites by Joe, LLC
adr:;;408 Route 47 South;Cape May Court House;NJ;08210;USA
email;internet:[EMAIL PROTECTED]
tel;work:609-335-3076
tel;cell:609-335-3076
x-mozilla-html:FALSE
url:http://sitesbyjoe.com
version:2.1
end:vcard