timateo
12-29-2005, 07:23 PM
I am trying to clear error messaging from a text box using onSetFocus. It writes to search_txt fine but won't clear.
search_btn.onRelease = function() {
if (searchString == null) {
search_txt.text= "Please enter a valid search term.";
} else {
getURL("http://companyURL/search/results.cfm"+"?search="+searchString, "_self", "POST");
}
}
search_btn.onSetFocus = function() {
search_txt.text = "";
}
Thanks in advance for your help.
search_btn.onRelease = function() {
if (searchString == null) {
search_txt.text= "Please enter a valid search term.";
} else {
getURL("http://companyURL/search/results.cfm"+"?search="+searchString, "_self", "POST");
}
}
search_btn.onSetFocus = function() {
search_txt.text = "";
}
Thanks in advance for your help.