> > I am planning to add a new method to Form Element named 'getSubmitButton' > to easily access the submit button of a form. I am ready to provide the > patch and tests for it. > Will that be useful? > > Which submit button? Form may have many submit buttons simultaneously, either <input type="submit" /> or <button type="submit">. Also form may not have submit buttons at all, then pressing Enter in input field will submit form, and clicking on <input type="image" /> will work as submit button.
-- You received this message because you are subscribed to the Google Groups "Prototype & script.aculo.us" group. To view this discussion on the web visit https://groups.google.com/d/msg/prototype-scriptaculous/-/o8YeLmolMs4J. To post to this group, send email to prototype-scriptaculous@googlegroups.com. To unsubscribe from this group, send email to prototype-scriptaculous+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/prototype-scriptaculous?hl=en.