Guest User

Untitled

a guest
Oct 18th, 2018
87
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.14 KB | None | 0 0
  1. var values="Test,Prof,Off";
  2. $.each(values.split(","), function(i,e){
  3. $("#strings option[value='" + e + "']").prop("selected", true);
  4. });
Add Comment
Please, Sign In to add comment