>
>
> form[0][-1][1].append(INPUT(_type="button",_value="Cancel",_onclick="'web2py_component("%s","component-pane")'%URL('indexContent')"))
>
You don't need to add your own quotes around web2py_component(...) -- when
web2py HTML helpers are serialized to HTML, all element attributes are
automatically wrapped in double quotes. So, just do:
_onclick="web2py_component('%s', 'component-pane')" % URL('indexContent')
Anthony

