Hi Tomaso, The submit is a input element.
new Element('input', {'type' : 'submit'}) should work. Miguel Tommaso wrote: > I am having a problem creating a submit button with prototype in IE. > > I use the following code: > > button = new Element('button', {'type' : 'submit'}); > form.insert(button) > > unfortunately in IE if you make at button, and run the code > > new Element('button', {'type' : 'submit'}).type > > You always get button, not submit. Consequently none of my forms > submit in explorer. Am i doing something wrong? Thanks in advance for > the help. > > > > > --~--~---------~--~----~------------~-------~--~----~ 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 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 -~----------~----~----~----~------~----~------~--~---