On Friday, February 12, 2016 at 12:04:08 PM UTC-8, [email protected] 
wrote:
>
> Works fine. Because I see the button and I click and see the pop up. 
> Great. Only issue is, I need to update the table with my argument. For 
> example:
>
> [...]
>
> So, I need to pass that argument from my view to the controller of the 
> form. Only thing I have at my disposal is the button. 
>

 Are you replacing a line in a <TD> element?

2 approaches to try are:

-- make sure that line is in the DIV the LOAD() is going to rewrite
-- LOAD into a hidden DIV, and use javascript to copy the element into the 
displayed DIV.

I have never tried the 2nd one, and I'm not js-savvy enough to more that 
wave my hands and say you find the element in the DOM and rewrite it.

The 1st is more like the normal use of LOAD(), except that you aren't 
putting the results into an empty container.

/dps

-- 
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 [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to