Friday, October 2, 2009

[jQuery] Re: [jquery-in-place-editor] Success function

2009/9/23 Cyril Lopez <loveistheway@gmail.com>
Hi
I'm using Dave Hauenstein's Jquery in place editor (http://code.google.com/p/jquery-in-place-editor/).
I don't know how using the success function in order to display a message "if server responds with a success".

I tried with success :

success: function(data,elem){
  $(elem).html(data+'myMessage');
  // return data+'myMessage' doesn't work
}

Is there a better way to display a custom message, replacing my input ?

Thanks and sorry for my poor english.


Cyril, Nethik
Nobody already used the success function ?

Thanks for any help

Cyril, Nethik

No comments: