Hi All,
I have a list box in a page (html select tag with multiple selection
option). Items are added dynamically in list box, using javascript. Can i
get all elements of listbox in my php code.
If i do $_POST['select_tag_name']. I get a variable not an array. Thus
getting only one item.
Sheeraz fazal wrote:
Hi All,
I have a list box in a page (html select tag with multiple
selection option). Items are added dynamically in list box, using
javascript. Can i get all elements of listbox in my php code.
If i do $_POST['select_tag_name']. I get a variable not an array.
Thus
Thanks.
As same select element is used in PHP and JavaScript. Naming a tag ending
in sqare brackets [] is JavaScript error. Till now either PHP will not
produce desired results or JavaScript will give me error :(
Pablo Gosse [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Sheeraz fazal
My Mistake. I over looked :(
Pablo Gosse [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Sheeraz fazal wrote:
Hi All,
I have a list box in a page (html select tag with multiple
selection option). Items are added dynamically in list box, using
javascript. Can i get all elements of
4 matches
Mail list logo