I would like to build a page using the framework X-editable

My question is this:

  1. It takes a parameter of URL on the field which is documented as:

url to server-side script to process submitted value

The url is posted using ajax so what URL would I use?

The documentation shows /post or post.php, if I had a javascript remote method how could I use it somehow? It is basically using query.ajax to send the request.

I appreciate any help you could offer in constructing the url for the ajax call, otherwise, it does allow functions that I can use instead of Ajax but trying to simplify things.

  • Anyone?.........
    – Eric
    Oct 1, 2014 at 0:43
  • Did you ever manage to find a way to get X-Editable to work? Cheers, Andrew
    – Andrew
    Aug 11, 2015 at 23:43

1 Answer 1


I've found an approach to do that, you can set manually the success function when the user edit a field, so, you must add for example the remoting callouts into this function.

    //Set inline editor
    $.fn.editable.defaults.mode = 'inline';

    $(document).ready(function() {
        // Init editor
          type: 'text',
          title: 'Enter username',
          success: function(response, newValue) {
             // here add you salesforce remoting code
             alert('username' + newValue);

This site is temporarily in read-only mode and not accepting new answers.

Not the answer you're looking for? Browse other questions tagged .