Jump to content

ajax, array submit truncated


melvincr

Recommended Posts

hey there,

 

i´ve a problem while submitting a form via ajax that containts a <select multiple="multiple" id="test">[..]

 

the submit link calls a js function that renders a string with the parameters for the ajax module: (there are other variables too, all which are working)

[..]"&technique=" + encodeURI( document.getElementById('test').value );

 

the problem is now that due to the multiple statement "test" will be an array.. but when assembling the parameter string it just takes one value and not many..

 

anyone has an (easy to implement) idea to fix this?

 

thx!

Link to comment
https://forums.phpfreaks.com/topic/73257-ajax-array-submit-truncated/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.