I use Jeditable to send some textarea data to the server. When, for any reason, the ajax message fails (network problem, server error, etc.), you must leave the form visible and save the data entered by the user. Is it possible to do this with Jeditable? Thank!
I don't have jeditable, but reading their documentation seems like you need to override their onerror event.
onerror: function (settings, original, xhr) { var error = eval('(' + xhr.responseText + ')'); //original.reset(); }
Source: https://habr.com/ru/post/1773424/More articles:CSS: What does the question mark at the end of css do? - cssAnother approach to translating web applications - phpJQuery: how can I use script timeout to detect page scrolling? - jqueryRotate UIBarButtonItem - objective-cGame Rubber Band and Pegs - algorithmHow to set FAT32 short names in Powershell or Windows Management Shell - fat32What is the difference between NtCreateProcess and ZwCreateProcess? - nativeIs javascript window.location.hash defined? - javascriptSSL configuration apache django - djangoMac OS: uninstalling an old erlang installation - erlangAll Articles