/ Published in: jQuery
Expand |
Embed | Plain Text
var optionTexts = []; $("ul li").each(function() { optionTexts.push($(this).text()) }); To join the results: var quotedCSV = '"' + optionTexts.join('", "') + '"';
You need to login to post a comment.
