Last active
June 8, 2019 21:21
-
-
Save vagelisp/25de34b3c57999822c752da1894b4fee to your computer and use it in GitHub Desktop.
JS for Aggelos
This file contains 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
jQuery(document).ready(function() { | |
jQuery("[id^=quform_10_218_]").change(function(event) { | |
jQuery("[id^=quform_10_1]") | |
.find("option:selected") | |
.removeAttr("selected"); | |
jQuery("[id^=quform_10_1]").val(""); | |
jQuery("[id^=quform_10_1]").change(); | |
jQuery("[id^=quform-form]").closest('form').trigger("reset"); | |
}); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment