I suggest jQuery.ajax
On Saturday, 11 January 2014 17:36:43 UTC-6, jonas wrote:
>
> hi
>
> I have developed javascript functions in /static/js/custom/charts.js
>
> they are loaded in layout.html:
>
> <script src="{{=URL('static','js/custom/charts.js')}}"></script>
>
> I call them in index.html by:
>
> <script>
>
> myfunction();
>
> </script>
>
> I know that ajax and jQuery can be used to call python functions in
> default.py and my question is, is it possible to use ajax or jQuery to call
> my custom javascript functions? which one should I use?
> My goal is to call d3js functions to generate graphs.
>
> thanks
>
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
---
You received this message because you are subscribed to the Google Groups
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.