Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $("select").change(function () {
- var str = "";
- $("select option:selected").each(function () {
- str += $(this).text() + "\n";
- });
- $("#comment").text(str);
- })
- .trigger('change');
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement