Bruno:

I am getting an error on the following line from jquery.dataTables.js while trying to work on a HTML table.

                    oSettings.aaSorting[i][1] = oColumn.asSorting[0];

saying that oColumn is undefined.

Any quick idea as to the problem?

Thanks,
Mike


On 9/21/2011 9:32 AM, Bruno Rocha wrote:
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 <mc...@cassicorp.com <mailto:mc...@cassicorp.com>> 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 ]


--
Dr. Michael L. Cobb
President
Custom Astronomical Support Services
436 Highview Dr.
Jackson,  MO 63755
mc...@cassicorp.com
(573) 243-3655

Reply via email to