Last active
May 3, 2016 14:02
-
-
Save aszel/5b77dc5a2b20e60daeeea38f2db57c74 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var selects = document.getElementsByTagName('select'); | |
for (i = 0; i < selects.length; i++) { | |
if (!$(selects[i]).val()) { | |
$(selects[i]).val("0"); | |
listenOnChangeOfSelectInputs($(selects[i])); | |
} | |
} | |
$("#assign_form_PRICE_save").click(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment