On Jan 11, 2008 11:20 AM, DB <suppressed> wrote: > >> I want to have the cursor automatically positioned into a certain form > >> field when my page loads. I've found that this can be done using > >> > >> <body onLoad="FormName.FieldName.focus();"> > >> > >> where FormName is the name of the form and FieldName is the name of the > >> desire field. > >> > >> I'm having trouble getting this to work in my IC page where my form's > >> name is [area search]. Does anyone have a suggestion? > >> > >> DB > > > > Hi DB, > > > > Is your form name [area search] or is that the target of the form? > > > Hi - my page uses: > > <form action="[area search]" method=post> > .... > > thanks for any hints.... > > DB It looks like you are missing the form name. How about: <form name="myform" action="[area search]" method=post> and the javascript: <body onLoad="document.myform.FieldName.focus();"> Dan _______________________________________________ interchange-users mailing list suppressed http://www.icdevgroup.org/mailman/listinfo/interchange-users
Mail converted by mhonarc 2.6.15
This archive provided courtesy of JSW4.NET, Internet Hosting Services for Small Business.