GepComty

listmenu

Jul 13th, 2013
73
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.45 KB | None | 0 0
  1. function nn(){
  2.  
  3. if($("#a1").val() == "a"){
  4.  
  5. $("#ax").hide();
  6.  
  7. }
  8.  
  9. }
  10. <form name="form1" method="post" action="">
  11. <select name="select" id="a1" onChange="nn()">
  12. <option value="a">a</option>
  13. <option value="b">b</option>
  14. <option value="c">c</option>
  15. </select>
  16. <select name="select3" id="a2">
  17. <option id="ax" value="a">a</option>
  18. <option value="b">b</option>
  19. <option value="c">c</option>
  20. </select>
  21. </form>
Advertisement
Add Comment
Please, Sign In to add comment