uhm. maybe

window.location='%s' % URL('default', 'index')

?

On Wednesday, January 20, 2016 at 2:37:26 PM UTC+1, aston...@gmail.com 
wrote:
>
> Well thanks for pointing out that Niphlod. So how should I correct it?
>
> On Wednesday, January 20, 2016 at 6:57:57 PM UTC+5:30, Niphlod wrote:
>>
>> _onclick should be at the very least a piece of javascript. You're just 
>> passing an URL.
>>
>> On Wednesday, January 20, 2016 at 1:50:11 PM UTC+1, aston...@gmail.com 
>> wrote:
>>>
>>>
>>> cancel=INPUT(_type='button' , _value='Cancel' , _onclick= 
>>> URL('default','index'))
>>>
>>

-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to