hEiti Posted December 29, 2012 Report Share Posted December 29, 2012 Vai, kāds varētu lūdzu palīdzēt ar datu iegūšanu Jqueryā, no lauku sērijas kuriem visiem id ir "paraugs[]" un name arī "paraugs[]"? Kāds noderīgs links arī būtu labi. Paldies. Quote Link to comment Share on other sites More sharing options...
101111 Posted December 29, 2012 Report Share Posted December 29, 2012 Vari iziet cauri šiem laukiem (meklējot pēc name) un savākt vērtības var values = []; $('input[name="test[]"]').each(function() { values.push($(this).val()); }); alert(values); Tas ka ir vienādi id vairākiem elementiem, tas gan nav pareizi un būtu jālabo. Quote Link to comment Share on other sites More sharing options...
Cibiņš Posted December 29, 2012 Report Share Posted December 29, 2012 Ja pareizi Tevi sapratu ta Tu domāji AJAX Contact form veida? ajax-contactform.zip Quote Link to comment Share on other sites More sharing options...
daGrevis Posted December 29, 2012 Report Share Posted December 29, 2012 Quote Link to comment Share on other sites More sharing options...
ziedinjsh Posted January 5, 2013 Report Share Posted January 5, 2013 Jesus.. :D Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.