Can you give me a different way? I cant believe its impossible to get the value of a field inside a form when both are inside another form. Thanks.
On 27 fev, 18:34, tres <treshug...@gmail.com> wrote: > Do it a different way. > > On Feb 28, 6:20 am, Po01 <diogoapa...@gmail.com> wrote: > > > Oh, and i know its not under "webstandarts" but i really need to get > > the value. > > Yes the email is the name of the label field. > > > On 27 fev, 16:14, Po01 <diogoapa...@gmail.com> wrote: > > > > Tried the $("form2 field").val(); but remember that form2 is a > > > variable, tried some stuff but it doesnt work. > > > Also tried $(Form2).find('input[name="email"]').get(0).val(); and.. > > > cant get the value =( > > > > On 27 fev, 06:43, saifullah hanif <saifullah...@gmail.com> wrote: > > > > >http://tinyurl.com/cyecufhttp://tinyurl.com/ahvxzc > > > > >http://tinyurl.com/8rwmkr > > > > >http://tinyurl.com/7wbm8o > > > > > On 2/27/09, Po01 <diogoapa...@gmail.com> wrote: > > > > > > Hi, i have a HTML like that: > > > > > > <form 1> > > > > > <form 2> > > > > > <field> > > > > > </form 2> > > > > > </form 1> > > > > > > Supposing the field name is email, how can i get its value using > > > > > Javascript/JQuery? > > > > > I tried some stuff.. without success.. > > > > > > The form 2 name Im getting as a variable, like: > > > > > function values(id) > > > > > { > > > > > var ID = id; > > > > > var Form2 = "#form2_" + ID; > > > > > ... > > > > > } > > > > > > So i need a code that use this Form2 to get the email field value > > > > > inside it. > > > > > Tried some stuff but dunno how to do that when Form2 is inside Form1. > > > > > > Thanks.