Working example of jeditable and autocomplete working together

前端 未结 6 2261
无人共我
无人共我 2021-02-10 18:54

I see a lot of google posts on this but all seems to be talking about how this is in progress. Does anyone know of a working version of jeditable and autocomplete functionality

6条回答
  •  星月不相逢
    2021-02-10 19:44

    Take a look at this

    JQuery Based Inplace Editing + AutoComplete

    Usage

    $('#edit').editable( 'echo.php', // POST URL to send edited content
        { indicator : , // options for jeditable 
            event: 'click'      // check jeditable.js for more options
        },
        { url: "search.php", //url form where autocomplete options will be extracted
            minChars: 1, // check autocomplete.js for more options
            formatItem:formatItem,
            selectOnly: 1,
            inputSeparator:';' // a new option of inputSeparator was introduced. 
        }
    );
    

    You can use ',' as input separator.

提交回复
热议问题