in the view
{{extend 'layout.html'}}
<script>
$(document).ready(function () {
# your code goes here
});
</script>
On Wed, Sep 21, 2011 at 10:34 AM, Mike Cobb <[email protected]> wrote:
> I am trying to include some jQuery functionality in one of the views
> but can't seem to load the jQuery.js library correctly. Looking at
> the internals of web2py I see a lot of jQuery calls internally but
> can't seem to expose this capability in the views. Can someone show
> me/explain how to write jQuery scripts in the view?
>
> Thanks,
> Mike
>
--
--
Bruno Rocha
[ About me: http://zerp.ly/rochacbruno ]
[ Aprenda a programar: http://CursoDePython.com.br ]
[ O seu aliado nos cuidados com os animais: http://AnimalSystem.com.br ]
[ Consultoria em desenvolvimento web: http://www.blouweb.com ]