Advertisement
Guest User

Untitled

a guest
Jul 25th, 2014
216
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.20 KB | None | 0 0
  1. $(document).on("change", "select.common", function() {
  2. $("select.common").not(this).val( this.value ) //added .not(this) since we dont need to change the value of the select being interacted with
  3. });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement