<input type="button" id="btn
<input type="text" name="dd" id="dd" size="
$("#btn
var str="";
$("[name=
str+=$(this)
})
$("#dd")
})
From:http://tw.wingwit.com/Article/program/Java/JSP/201311/20229.html