> Can I ask a DOM question here? Is there a way to use JavaScript and the 
> Dom to make an element be focusable?

If the item in question can receive focus (e.g. <input ...> or <a ...>),
then add an id to the element:

        <input type="text" name="phone" id="phone" ...>

And then use:

        document.getElementbyId('phone').focus();

If the element can't normally receive focus (e.g. <div>text in need of
attention</div>), then you can dynamically wrap the text with <a href="#"
id="focused">. I would suggest using the jQuery javascript library to do any
dynamic wrapping.

Regards,
Kepler Gelotte
www.neighborwebmaster.com





*******************************************************************
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: [EMAIL PROTECTED]
*******************************************************************

Reply via email to