yeah... but the checkboxes are created dinamically... so i can have one checkbox or 20 checkboxes, how do i post these ones??

2006/9/6, Marc Jansen < [EMAIL PROTECTED]>:
Rafael Santos schrieb:
> Hey... im trying to post via ajax an array of checkboxes with the same
> id..
> if i do:
>
> $(".btn").click( function(){
>   $.post("request.cfm",{
>      valor: $("#checkboxes").value
>   }, function(){
>     //any callback
>   }
> });
> on firebug i see the posting is only sending the 1st value of 4
> #checkboxes in the form...
>
> Any one knows why??
Hi,

just a quick guess: shouldn't your IDs (#) be unique?

Bye,
Marc

--

  ___________________________

  terrestris  GbR

    Marc Jansen
    Siemensstr. 8
    D-53121 Bonn


  T: ++49 (0)228 - 962 899 54
  F: ++49 (0)228 - 962 899 57

  Email: [EMAIL PROTECTED]
  Internet: www.terrestris.de
  ___________________________


_______________________________________________
jQuery mailing list
[email protected]
http://jquery.com/discuss/

_______________________________________________
jQuery mailing list
[email protected]
http://jquery.com/discuss/

Reply via email to