Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $(document).on("change", "select.common", function() {
- $("select.common").not(this).val( this.value ) //added .not(this) since we dont need to change the value of the select being interacted with
- });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement