Enable AJAX plugin editing with jQuery | jeditable

jquery-jeditable – link to an element on the page, and when you click on the element it will become a form sent by asynchronous POST request (ajax) to the URL. jeditable is an in-place editable plugin that turns any element into an Ajax-enabled inline editor, an input document, or textarea for inline editing of any data within the document.

It works with text entries, text area, selection, data picker, and more … It comes with many different options that you can use to do exactly what you want!

datatable inline editing without editor plugin, jquery inline edit and save, jquery inline edit input, jquery editable text, jquery editable text field, jquery click to edit

How to make use of it:

1. Download & set up the jeditable plugin.

# Yarn
$ yarn add jquery-jeditable

# NPM
$ npm install jquery-jeditable --save

2. Include the jeditable plugin and its plugins on the webpage.

<!-- jQuery -->
<script src="/path/to/cdn/jquery.min.js"></script>

<!-- jQuery jeditable -->
<script src="jquery.jeditable.js"></script>

<!-- jeditable plugins -->
<script src="jquery.jeditable.autogrow.js"></script>
<script src="jquery.jeditable.charcounter.js"></script>
<script src="jquery.jeditable.checkbox.js"></script>
<script src="jquery.jeditable.datepicker.js"></script>
<script src="jquery.jeditable.masked.js"></script>
<script src="jquery.jeditable.time.js"></script>

3. Call the function on the goal factor and specify the URL or Function to send edited content to.

<p class="example">Click To Edit.</p>
$(".example").editable("save.php");

4. Possible options to customize the plugin.

$(".example").editable("save.php",{
  name       : 'value',
  id         : 'id',
  type       : 'text',
  width      : 'auto',
  height     : 'auto',
  event      : 'click',
  onblur     : 'cancel',
  tooltip    : 'Click to edit',
  loadtype   : 'GET',
  loadtext   : 'Loading...',
  placeholder: 'Click to edit',
  loaddata   : {},
  submitdata : {},
  ajaxoptions: {}
});

AJAX-enabled Edit In Place Plugin, jquery-jeditable Github, inline text editor jquery, jquery jeditable checkbox


See Demo And Download

Official Website(NicolasCARPi): Click Here

This superior jQuery/javascript plugin is developed by NicolasCARPi. For extra Advanced Usages, please go to the official website.

Related Posts

Iconpicker-Bootstrap-5

[Icon Picker] Iconpicker for Bootstrap 5 Icons Library

Bootstrap 5-based icon picker which supports any icon libraries like Bootstrap Icons, Font Awesome[fontawesome.com], etc. Must Read: 1000+ Pixel Perfect SVG Icons For Vue Components | Unicons How…

bootstrap-multiple-image-upload-with-preview

Bootstrap Multiple Image Upload with Preview and Delete | ImagesLoader

ImagesLoader is a standard bootstrap image upload plugin that provides an easy-to-use and nice-looking interface for uploading multiple images to a web server. Must Read: HTML 5…

Animating-Split-Flap-Displays-fallblatt

A Lightweight jQuery Plugin for Animating Split-Flap Displays | fallblatt

fallblatt is a lightweight jQuery plugin for animating split screens. This jQuery plugin allows you to include such offers in your web application. Everything from virtual departure…

bootstrap-5-dark-theme

Dark & Light Switch Mode Toggle for Bootstrap 5

Switching to dark mode is done by toggling HTML tags that include -dark or -light as a category. It is made by manipulating the DOM with JavaScript. The text color also changes depending…

jQuery-SyoTimer-Plugin

jQuery Plugin for Countdown Timer on HTML Page | SyoTimer

yoTimer jQuery plugin allows you to create digital style countdowns/periodic timers on the webpage, with callbacks support and timezone/translation customization. Features Periodic count with the specified period…

vue-js-periodic-table

Dynamic, Data-driven Periodic Table built with Vue.js

Periodicity is a dynamic, data-driven periodic table created with Vue.js that uses D3 animations and graphs to show the beauty of periodic trends. Built With vue.js (component…