Hi,
> oops! Presumably the elements collection is
>
> $(formElement).select('[type=image]');
>
> ?
Yes. Or even:
var imageinputs = $(formElement).select('input[type=image]');
...which only returns *input* elements with type=image (as opposed to
any element with type=image) -- just in case in the fullness of time
you add some other kind of element that happens to have a type
attribute = image. Not _likely_; I'm just saying...
--
T.J. Crowder
tj / crowder software / com
Independent Software Engineer, consulting services available
On Jan 19, 2:02 pm, geoffcox <[email protected]> wrote:
> oops! Presumably the elements collection is
>
> $(formElement).select('[type=image]');
>
> ?
>
> early days for me on this!
>
> Cheers
>
> Geoff
>
> On Jan 19, 7:14 am, kangax <[email protected]> wrote:
>
> > On Jan 19, 1:53 am, geoffcox <[email protected]> wrote:
>
> > > Kangax
>
> > > do you mean that prototype can deal with <input type="image" though?
>
> > What happened to the snippet I just gave you?
>
> > [...]
>
> > --
> > kangax
>
>
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---