Last active
April 18, 2018 12:31
-
-
Save tobystokes/0920e488d0ed2a29b240c8a12807a55f to your computer and use it in GitHub Desktop.
Modify max/min versions of select values
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
$(function() { | |
// Make sure jquery is loaded. | |
// the title of the selectlist = the Tessitura price type. | |
$('select[title=44] option').filter(function() { | |
return $(this).val() < 10; | |
}).remove(); | |
$('select[title=44] option').filter(function() { | |
return $(this).val() > 20; | |
}).remove(); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment