Hi Simon,
I just found the problem:
The line:
<script src="{{=URL('static','js/jquery.jeditable.js')}}"></script>
has to be inserted after(!)
{{include 'web2py_ajax.html'}}
which adds jquery.js
Changing that, first my inline changes were reverted, but when I adapted
the location
in the line
jQuery('.dog_name').editable("{{=URL('jeditable', 'upd_dog_name')}}",{
to my location of „*upd_dog_name“* now it works perfect!
Thank you very much for this wonderful example: I learned a lot with it,
especially how to pass data from web2py/python to javascript and back.
And this inline-editing is very useful too :-)
This should be integrated into web2py and/or the quick examples!
Do you have more examples of this kind? :-)
Excellent! Perfect! 10 of 10 stars! Thanks a lot!
pd
--
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.