Default Button on HTML form
Web Development
1
Posts
1
Posters
0
Views
1
Watching
-
Hey all, I have a quick question, i have a form that has several buttons, when the form loads, i set my "Save" button to have focus (using document.frmEdit.btnSave.focus();) However, when i my text boxes get focus (ie when i'm typing in them) the "Add" button recieves focus. Thus if i hit return, it doesn't have the desired effect. Is there anyway that I can have the "Save" button keep focus the entire time the form is loaded? Thanks Brian Van Beek