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 prototype-scriptacul...@googlegroups.com.
To unsubscribe from this group, send email to 
prototype-scriptaculous+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/prototype-scriptaculous?hl=en.

Reply via email to