Versions are the same: IE 7 v .97

If I 'debug' the object I have:

<INPUT class=HSFCO id=HSFCO_1 onclick=
\"comercialViewField(this.value,'1');\" type=checkbox CHECKED value=1
name=HSFCO_1 metaDone=\"true\">

or:

<INPUT class=HSFCO id=HSFCO_1 onclick=
\"comercialViewField(this.value,'1');\" type=checkbox value=0
name=HSFCO_1 metaDone=\"true\">

It has one diference is the checked.....






On 25 mayo, 14:24, "Mike Alsup" <[EMAIL PROTECTED]> wrote:
> What browser is this happening on?  And what  version of the form
> plugin?  It works fine for me on FF2 and IE7 using the latest form
> plugin (.97).  This is what I tried:
>
> <html><head>
> <script type="text/javascript" src="jquery-1.1.2.js"></script>
> <script type="text/javascript" src="jquery.form.js"></script>
> <script type="text/javascript">
> $(function() {
>     $('button').click(function() {
>         alert( $('#DB .HSCO').fieldSerialize() );
>         return false;
>     });});
>
> </script>
> </head>
> <body><div><form id="DB" action="">
> <input type='checkbox' class='HSCO' id='HSCO_1' name='HSCO_1' value="1" />
> <input type='checkbox' class='HSCO' id='HSCO_2' name='HSCO_2' value="0" />
> <input type='checkbox' class='HSCO' id='HSCO_3' name='HSCO_3' value="1" />
> <button>Test</button>
> </form></div></body>
> </html>
>
> Mike
>
> On 5/25/07, oscar esp <[EMAIL PROTECTED]> wrote:
>
>
>
>
>
> > I am using fieldSerialize:
>
> > jQuery('#DB .HSCO').fieldSerialize();
>
> > In form DB I have 3 items:
>
> > <input type='checkbox' class='HSCO' id='HSCO_1' name='HSCO_1' value=1
> > ></td>
> > <input type='checkbox' class='HSCO' id='HSCO_2' name='HSCO_2' value=1
> > ></td>
> > <input type='checkbox' class='HSCO' id='HSCO_3' name='HSCO_3' value=1
> > ></td>
>
> > if value is =1 then works fine.... however when value =0 (ex:HSCO_3)
> > the item doesn't appear in the serialization: "HSCO_1=1&HSCO_2=1"
>
> > Any workaround?- Ocultar texto de la cita -
>
> - Mostrar texto de la cita -

Reply via email to