lucy Posted August 28, 2009 Share Posted August 28, 2009 I am not sure if this can be done with plain old html/css or if i have to use javascript. When a combo box gets updated i.e. a choice is seletced, i want a text box to go blank, if it contained any text in there. Javascript job or html/css job? Thanks, Lucy Link to comment https://forums.phpfreaks.com/topic/172272-combo-box-upon-update/ Share on other sites More sharing options...
mayfair Posted August 28, 2009 Share Posted August 28, 2009 This is a JS job. Something like: function clearBox() { document.form1.box.value=""; } and in your HTML <select name="example" onchange="clearBox()"> Link to comment https://forums.phpfreaks.com/topic/172272-combo-box-upon-update/#findComment-908321 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.