I tried but it still didn't work. What I did is I followed your posts
with the same topic as mine. The function was not called. :(
I spent a lot of times to work this out, but the problem is still
unsolved.



On Jun 2, 4:03 pm, Neveen Adel <nevo.a...@gmail.com> wrote:
> Hello tracey,
>
> you will define your action in default.py as :
>
> def fun():
>   return #whatever
>
> then in index.html:
>           $('#country_state').change(function(){ $.ajax( 'fun',
> ['country_state'],'id_of the seconddropdown' ) }
>
> Iceberg send the following  link 
> :http://web2py.com/book/default/section/10/3?search=ajax

Reply via email to