R
Robert Bravery
HI all,
I have a form for searches on a mysql database/table. The form has on input
text box, and several pushbuttons. Depending on which pushbutton is
selected, the search is then done on a specific field. One of them isa date
field.
How can I add or change the onfocus, onblur events of the input box to one
that is relevant to the type of search being done. For example, I have some
date format and valadation function, I would like to change the inputs
onblur and onkeyup to functions specific for date, and then when region
pushbutton is selected to change those same events to one spevific for
region
Can thin be done, if not what are the alternatives.
Thanks
Robert
I have a form for searches on a mysql database/table. The form has on input
text box, and several pushbuttons. Depending on which pushbutton is
selected, the search is then done on a specific field. One of them isa date
field.
How can I add or change the onfocus, onblur events of the input box to one
that is relevant to the type of search being done. For example, I have some
date format and valadation function, I would like to change the inputs
onblur and onkeyup to functions specific for date, and then when region
pushbutton is selected to change those same events to one spevific for
region
Can thin be done, if not what are the alternatives.
Thanks
Robert