Hi, I am using Raphael for drawing diagrams and want to store de location of the elements in the database.
Do I need $.ajax or can I stick to ajax helper? View: var up = function () { this.attr({opacity: 1.0}); var locx = this.attr("x"); ajax('new_post', ['locx'], 'resp'); }; Controller : def new_post(): db.post.insert(your_message=request.vars.locx) Any hint would be welcome Richard --