Re: [web2py] Re: How to send contenteditable to web2py AJAX call

2020-08-03 Thread AGRogers
Thanks for update. On Sun, 2 Aug 2020, 6:38 am Rob Paire, wrote: > So I stepped through the Web2py AJAX call in the debugger and found that > the hang-up was due to jquery serialize method. That method wants a form > variable name as input. The easiest solution is to wrap the table in a set >

[web2py] Re: How to send contenteditable to web2py AJAX call

2020-08-01 Thread Rob Paire
So I stepped through the Web2py AJAX call in the debugger and found that the hang-up was due to jquery serialize method. That method wants a form variable name as input. The easiest solution is to wrap the table in a set of form tags and then modify the TD so that it contains a form input

Re: [web2py] Re: How to send contenteditable to web2py AJAX call

2020-08-01 Thread Rob Paire
Exploring native JS AJAX calls is an excellent suggestion. I am new to AJAX calls and haven't explored possibilities other than the Web2py call. As you rightly guessed I am having trouble debugging the calls. Incorrectly formed AJAX W2P calls fail silently - they don't usually throw an error

Re: [web2py] Re: How to send contenteditable to web2py AJAX call

2020-08-01 Thread AGRogers
Is there a reason you can't use the standard js or jquery ajax calls? Then you can build your own data structures easily and see exactly what is going where. I found things easier to debug that way. The only time I use the web2py one is when I want to send a web2py form back to the controller. It

Re: [web2py] Re: How to send contenteditable to web2py AJAX call

2020-08-01 Thread Rob Paire
Hi Clemens Appreciate your comments. Both calls have the same target - it's the first tag in the HTML. The property of contenteditable has been applied to the TD so it is no longer static, but in fact the user can edit it. In the finished product there will be a large HTML table or grid that the

[web2py] Re: How to send contenteditable to web2py AJAX call

2020-08-01 Thread Clemens
Hi, currently I'm in hurry. Thus, only a quick help by hint: In your second, non-working example, I can't find a the target which is addressed by your call (first example from documentation it's ) And why do you want a ajax action for the , because it's static. What do you want to archive by