It might help if you give your elements IDs and use those as
selectors. I'm not even certain that the form tag can have a "name"
attribute.
On Mon, Jan 5, 2009 at 1:43 PM, bob wrote:
>
> Hi,
> I would like to keep jQuery('fo...@name=myform1]') in variable so that
> I can utilize it
> later on.
>
'name' is a valid attribute for the form tag. you can access a specific
form on a page via document.forms['formName'] (pre-jQuery, of course) :)
your point remains, however, an id attribute would indeed make referencing
it easier ('#myFormID').
On Mon, Jan 5, 2009 at 11:18 AM, brian wrote:
>
>
2 matches
Mail list logo