Hey Justin,
Thanks for you further information. Yes, you solution did fix that
problem.
BTW,IE8 in WIN7 has the problem either. IE8 still treats Button's type
is "button" instead of "submit".


On Aug 6, 2:58 pm, Justin Davis <[email protected]> wrote:
> Hi Zak,
>
> The problem here with IE is that form.Button uses a <button> tag. In
> all browsers, except IE, buttons default to type="submit". In IE,
> however, they default to type="button", which doesn't submit the form.
> The way to fix this is:
>
> change:
> web.form.Button('Add todo'),
>
> to:
> web.form.Button('Add todo', type="submit"),
>
> I believe this behavior is fixed in later versions of IE, but IE6
> anyway needs to explicitly call a <button type="submit"> or it won't
> submit forms on click.  Hitting enter within a text box, however, will
> still work as you discovered.
>
> Good luck,
> Justin
>
> On Aug 6, 9:55 am, Zak <[email protected]> wrote:
>
> > I think it would help newbies. Other simple samples do not include
> > html headers either.
>
> > On Aug 6, 9:33 am, boubou_cs <[email protected]> wrote:
>
> > > :)
>
> > > Should we change the todo example by including the headers ?

-- 
You received this message because you are subscribed to the Google Groups 
"web.py" 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/webpy?hl=en.

Reply via email to