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 Quote Link to comment 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()"> Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.