WebAIM - Web Accessibility In Mind

E-mail List Archives

RE: Setting focus in a php form

for

From: Moore, Michael
Date: Sep 14, 2006 8:10AM


Since you are using PHP, I will assume that you are adding the fields on
the server side. I would also write a new anchor and send the form back
to the url with the in-page anchor. This isn't perfect in IE and may
require a small hack but it will set the focus in the proper location.

Mike