On Apr 25, 6:09 am, funkyasl <amritas...@gmail.com> wrote:
> Hi all,
> I'm a jquery newbie. I've been searching around the web a lot, but
> could not find an answer.
>
> My page has multiple forms (forma, formb, formc, etc). I want to
> select one particular form, say formb, without assigning an id to it,
> just by its name itself. How can i achieve this?
> I've tried:
> $("forms[name=formb]")
> but it doesnt work.
You may be thinking of:
var form = document.forms['formb'];
where formb is the form's name.
--
Rob