Thanks Brent,
Eventually got it with your help and advice.
The controller was failing silently (revealed with Firefox and Firebug).
Once that was fixed, plugged the rest in and worked perfectly.
(kicking myself that it was so close, but you stuff really helped.
I owe you one)
Cheers,
On Wednesd
Thanks Brent,
Appreciate that, but the main issue is that the controller does not called
from jQuery. i.e. from this line
jQuery('.EDit').editable("{{=URL('update')}}",{
There no post vars.
(have also used a brute force updates to confirm that it doesn't fire)
If we can only find out why.
(th
Going back to your first example code you gave above,
Javascript in the view nothing really changed I just don't have the
indicator gif
jQuery(document).ready(function(){
jQuery('.EDit').editable("{{=URL('update')}}",{
style: 'display:inline',
indicator: "Saving
Thanks Brent,
Sorry for the delay - first chance to delve into this again. Still no
luck. Have tried various combinations but unable to get jeditable fire in
this setup.
Do you have a quick example that works (just a cut and paste one would do)?
TIA.
--
Simon,
Instead of using the default operation of jeditable, I just past in a
function and used jquery.post to send the data to the controller.
In Javascript I just do:
jQuery(".EDIT").editable(function(value,settings){
//Grab the id you want the value of the field is stored in value
jQuery.pos
Have a rephrased/ simplified controller, and while almost got it working,
running out of ideas/ talent.
The problem is in posting parameters to the controller and passing a value
back to the edited field (its just not seeing them).
Any ideas would be welcome, but failing that, would anyone be
OK, a little bit more infor if anyone can help:
Have a requirement for get jeditable working with a grid/ table (sqlform.grid
or slqtable). Current issue is that using the jeditable.js, return
parameters seems incorrect i.e. editable td value is the indicator
parameter rather than what should
7 matches
Mail list logo