You have to modify the code in web2py_ajax to support this. It is not
obvious to me how to. If you find out a way I would take a patch to
support it.

Massimo

On Apr 23, 11:59 pm, Russell <[email protected]> wrote:
> Hi,
>
> When I put an onchange submit into an {{=LOAD()}} it seems to submit
> the main page's form and not the LOADed form.  Is there a way to have
> something like this within a LOAD element?
>
> For example, here's what I'm trying to LOAD...
>
> <form method="post">
>     <p><label>Field Label
>         <select onchange="$(this).closest("form").submit();">
>             <option value="blah">Blah</option>
>             ....
>         </select></label>
>     </p>
> </form>
>
> I've tried butting an ID on the loaded form but this doesn't seem to
> help.
>
> Thanks
> Russell
>
> --
> Subscription settings:http://groups.google.com/group/web2py/subscribe?hl=en

Reply via email to