jeditable

Jeditable CANCEL callback from AJAX callback?

不羁的心 提交于 2019-11-27 18:24:59
问题 I see some answers for the Jeditable plugin to use a callback function from AJAX using complete callback function. I know that the Jeditable has a callback function for the SUBMIT button, so I would like to know if there is a way to have a callback for the CANCEL button? I haven't found on the plugin docs. Thanks for reply, Carlos PD. This is the source I see for COMPLETE from AJAX callback: $("#editable_text").editable(submitEdit, { indicator : "Saving...", tooltip : "Click to edit...", name

how to get out of jquery (jeditable) mess

泪湿孤枕 提交于 2019-11-27 15:58:31
问题 I am not very good at jQuery but decided to use jEditable plugin for my site because I thought it looked good and solved the purpose. However, I am in a bit of a tangle now. I used this plugin to edit data and the edited data is sent to the DB and some fields are updated by it. the Stored procedure that updates these fields is returning some data back. I would like to have this data returned back to me. I would just like to see the returned data in an 'alert' statement first, then I can take

Jeditable - Activate edit of X by clicking on Y

空扰寡人 提交于 2019-11-27 06:39:28
问题 I'm trying to use Jeditable as an inline editing solution. The default behavior (click on the element to edit it) works quite well, but I would like to activate an element by clicking on another element. For example clicking on a.activateEdit will activate the next div.edit (obviously should be done using jQuery selectors). I've looked into Jeditable docs for this, but couldn't find the right syntax FYI, the default Jeditable syntax is something along the lines of: $(document).ready(function(