I have two forms with same id like the case shown below
<div id="first">
<form id="samename">
<input id="xyz"/>
.....
</form>
</div>
<div id="second">
<form id="samename">
<input id="xyz"/>
.....
</form>
</div>
when i do serialization of samename form under first it serializes
both forms
$$('#second #samename').first().serialize();
and the serialized output had
xyz - ['form1value','form2value']
can i avoid this somehow..... moreover
$$('#second #samename').first() should give me element associated with
second form alone.. why does it serialize first form...
Regards,
Hari
--
You received this message because you are subscribed to the Google Groups
"Prototype & script.aculo.us" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/prototype-scriptaculous?hl=en.