all groups > flash actionscript > may 2006 >
You're in the

flash actionscript

group:

Clear one text box when other gets focus


Clear one text box when other gets focus stripetg
5/3/2006 10:27:32 PM
flash actionscript:
I have a search box with two text fields, one for products and one for
companies. I want to have one box be cleared when the other box gets focus. For
example, a user types in NEC in the product box, and realizes that it is the
wrong box. The user is supposed to type that in the company box. When the
company box gets focus, the product box is cleared.

Anny suggestions
Re: Clear one text box when other gets focus q9hkpz
5/4/2006 1:27:33 AM
hi stripetg,
what about the word "NEC"??
Re: Clear one text box when other gets focus stripetg
5/4/2006 4:06:09 PM
Re: Clear one text box when other gets focus q9hkpz
5/4/2006 4:16:44 PM
company_txt.onSetFocus=function(){
product_txt.text="" ;
}

Re: Clear one text box when other gets focus kglad
5/4/2006 4:34:01 PM
Re: Clear one text box when other gets focus stripetg
5/4/2006 7:08:58 PM
Re: Clear one text box when other gets focus kglad
5/4/2006 7:49:43 PM
Re: Clear one text box when other gets focus stripetg
5/4/2006 10:13:23 PM
AddThis Social Bookmark Button