Last active
August 29, 2015 14:13
-
-
Save dacur/a8a353d5b59c03206487 to your computer and use it in GitHub Desktop.
Selecting a list item from a 'ddl' type dropdown list. You cannot use .change(). Can then fire a 'sort' function to sort on the selected 'li'.
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
| $(".occassionRow").click -> | |
| alert "changed" | |
| return |
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
| #ddlOccasion.wrapper-dropdown | |
| %span.selected Occasion | |
| %ul.dropdown | |
| %li.occassionRow Work | |
| %li.occassionRow Going Out | |
| %li.occassionRow Casual |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment