Created
August 24, 2014 05:58
-
-
Save nixon1333/57e3e1edf757d551f53d to your computer and use it in GitHub Desktop.
Select ddslick option by value or text
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
$('#currencySelectBox li').each(function( index ) { | |
var currs = $( this ).find('.dd-option-value').val(); | |
if(currs == storeCur) | |
{ | |
$('#currencySelectBox').ddslick('select', {index: $(this).index()}); | |
} | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment