Re: [web2py] Re: ajax didn't run passing var when put it on static js folder

2011-04-28 Thread Stifan Kristi
a, i c, thank you so much for your pointer, pbreintenbach. On Fri, Apr 29, 2011 at 10:01 AM, pbreit wrote: > I think for this specific case you do need to put the

Re: [web2py] Re: ajax didn't run passing var when put it on static js folder

2011-04-28 Thread pbreit
I think for this specific case you do need to put the

Re: [web2py] Re: ajax didn't run passing var when put it on static js folder

2011-04-28 Thread Stifan Kristi
thank you so much for your pointer, pbreit, i've followed what u said, but it still not working. currently, i put it on the views/default/index.html not in the layout.html. it seems that vars on ajax can't be passed to another file, because when i put script on the same page, it can be run. becaus

[web2py] Re: ajax didn't run passing var when put it on static js folder

2011-04-28 Thread pbreit
Are you including the script in your layout.html or other page? I like to put a tag in the section of my layout.html: