[Proto-Scripty] Re: Creating a Submit Button

2009-03-06 Thread Michael Hauptmann
Hi Colin, I wasn't aware about these details, but the last time I had this problem I could solve it by using an input element :-) As many times... this problem finally is an IE issue, it's not about standards :-) Regards, Miguel ColinFine wrote: > > On Mar 6, 10:05 am, Michael Hauptmann wrote

[Proto-Scripty] Re: Creating a Submit Button

2009-03-06 Thread ColinFine
On Mar 6, 10:05 am, Michael Hauptmann wrote: > Hi Tomaso, > > The submit is a input element. > > new Element('input', {'type' : 'submit'}) > > should work. > > Miguel > Hang on, Miguel HTML has both and , so Tommaso's expectation is reasonable. Flanagan (the O'Reilly "Javascript, The Defini

[Proto-Scripty] Re: Creating a Submit Button

2009-03-06 Thread Michael Hauptmann
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(bu