Thanks! web2py easy, as always.
On Jan 28, 11:24 am, Alan Etkin spame...@gmail.com wrote:
You can use javascript onclick and the web2py.js function
web2py_component(action,target) to load the source on demand.
You need to set a target div or other element in the view previously
and get the
web2py_ajax_page(get, URL, null , DIV_ID)
This function is included in web2py.js
On Jan 28, 10:03 am, scausten scaus...@gmail.com wrote:
I'd like to asynchronously load one of a choice of components into a
view, based on a user selection after the page has loaded. It's
relatively trivial to
You can use javascript onclick and the web2py.js function
web2py_component(action,target) to load the source on demand.
You need to set a target div or other element in the view previously
and get the triggered event's DOM element id with jQuery to pass it
with the url/action string.
3 matches
Mail list logo