Get ready for Flash EASTER SALE starting in

Highlight On Focus

Highlight On Focus

Highlighting the content/value of text entry fields in a form when they get the focus facilitates entering data.

However, current browsers do not always automatically select/highlight text entry fields when they receive the focus. They place the cursor either at the beginning or at the end of the entry field, forcing users to select/highlight the entry field themselves.

This Command searches your document for all form elements of type 'text', 'file' and 'password' and adds 'onFocus="this.Select();"' to these form elements to force browsers to highlight the entire field contents when the field gets focus.


UI Access

Choose 'Highlight On Focus' from the 'FlevOOware' flyout in the Commands Menu.


Type: Command
Product: Dreamweaver 4, Dreamweaver MX, UltraDev 4

Marja Ribbers-de Vroed

Marja Ribbers-de VroedWell, what's there to tell?

I worked as a software engineer for a well-known Dutch software company for about 10 years. But then I decided I did not want to work there anymore.
Since then, I've been working with my husband in our own company.

I "discovered" web development early 2000, and I soon found out that I could actually create my own extra (DHTML) features in Dreamweaver by building custom extensions.
My first extension was Cross-browser AutoScroller, but I've developed several other ones since then.

See All Postings From Marja Ribbers-de Vroed >>


This dont work

January 24, 2003 by ipaq CE
This extension dont highlight my text at all.

You must me logged in to write a review.