form[0][-1][1].append(INPUT (_type='button',_value='Cancel',_onclick="window.location='%s';"%URL (r=request,f='index')))
On Jun 5, 5:58 am, annet <[email protected]> wrote: > In my application I have a form which contains a cancel button: > > form[0][-1][1].append(INPUT > (_type='button',_value='Cancel',_onclick="window.location='{{=URL > (r=request,f='index')}}';")) > > When I click the cancel button nothing happens. Which adjustment do I > have to make to get this to work properly? > > Kind regards, > > Annet. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "web2py Web Framework" 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/web2py?hl=en -~----------~----~----~----~------~----~------~--~---

