[jQuery] Re: MultiSelect Name Problem

2008-11-25 Thread MorningZ
You're making it much more complex than it needs to be, besides the fact that your posted code doesn't make much sense as that return qty isn't returning the value anywhere $(#parameters).change(function () { var values = $(this).val() || []; $(#qty).val(values.length; }) On

[jQuery] Re: MultiSelect Name Problem

2008-11-25 Thread Sai Krishna
Well that was an edited code. Infact, I was not returning any qty in my original code. That was mistake. My Server side code seems to be not taking name parameters. When I rename the parameters to parameters[], POST seems to get all selected values other wise I get the last selected value.

[jQuery] Re: MultiSelect Name Problem

2008-11-25 Thread Sai Krishna
Thank you, the problem is solved. I had to alter the id. I was dynamically generating the multi select box, I had to rename the ID which was same as name of select box On Nov 25, 7:05 pm, Sai Krishna [EMAIL PROTECTED] wrote: Well that was an edited code. Infact, I was not returning any qty in