it works fine, but just wondering how to resize the drop down box?
each time while i am trying to put style in it, it doesn't work properly and the java script doesn't work as well.
but once i've remove the style, everything works fine.
<form action="#">
<div id="x">
// repeat below code
1. <select onchange="listSel(this,'x')">
<option value=" " selected="selected"></option>
<option value="A">Option One</option>
<option value="B">Option Two</option>
<option value="C">Option Three</option>
<option value="D">Option Four</option>
</select>
// repeat above code
<input type="button" value="reset" onclick="resetSel('x',
[[' ',' '],['A','Option One'],['B','Option Two'],
['C','Option Three'],['D','Option Four']])">
</div>
</form>
THANK YOU!
This post has been edited by Dormilich: 15 February 2013 - 08:51 AM
Reason for edit:: please use [CODE] [/CODE] tags when posting code

New Topic/Question
Reply


MultiQuote




|