我试图从三个输入文本框中获得价值。但我希望这三个值在一次或数组form.I如何得到? 这里是我的HTML的我怎样才能从三个输入文本框在jQuery时间获得价值
<input style='display:none' value='http://localhost/JSG/upload/Hydrangeas6.jpg' class='imgstr' name='imgstr[]'type='text>
<input style='display:none' value='http://localhost/JSG/upload/Jellyfish4.jpg' class='imgstr' name='imgstr[]'type='text'>
<input style='display:none' value='http://localhost/JSG/upload/Koala1.jpg' class='imgstr' name='imgstr[]'type='text'>
jquery-
var images = $('.imgstr').val(); //Get value from text
感谢阿伦先生。 – Secure 2014-12-05 12:52:18