重複の可能性:
jQuery でテキスト文字列を区切る
私はすべての.postTag
使用jqueryから1つの文字列を作成しました
sample:
<span class='postTag'>Jquery</span>
<span class='postTag'>php</span>
<span class='postTag'>mysql</span>
出力:
<input type='hidden' id='allInsertedTags' value='Jquery,php,mysql' />
ありがとう;D