Created
October 18, 2018 06:48
-
-
Save Faizanq/291bb8c67fbf4b858672535fcf666b92 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 values="Test,Prof,Off"; | |
$.each(values.split(","), function(i,e){ | |
$("#strings option[value='" + e + "']").prop("selected", true); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment