I've never used it, but the input type="image" is for a submit button that uses an image. It seems like it would be bad practice to use more than one submit button for a form. I'd suggest using standard img elements with an onclick event that updates a hidden input element with a value you want to pass for the selected image.
On Jan 18, 2:55 pm, geoffcox <[email protected]> wrote: > Hello, > > I am told that the input type="image" element is not part of the > formElementObject.elements collection. > > I was hoping to have 4 images from which the user would select one and > then when the form is submitted info re the selected image could be > passed to a function. > > Is it possible to use prototype to do this? > > Cheers, > > Geoff --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
