GithubHelp home page GithubHelp logo

marcroberts / jquery.editable.lite.js Goto Github PK

View Code? Open in Web Editor NEW

This project forked from mattheworiordan/jquery.editable.lite.js

0.0 2.0 0.0 212 KB

Edit in place JQuery plugin

Home Page: http://mattheworiordan.com/projects/jquery.editable.lite.js/example.html

License: MIT License

Ruby 2.46% CSS 44.69% HTML 7.91% JavaScript 44.94%

jquery.editable.lite.js's Introduction

JQuery Editable Lite Plugin

Plugins which can turn HTML elements into editable text fields are abundant, however I found that most of them are quite bloated. This plugin was built to be somewhat API compatible with Jeditable, yet be lightweight and simple.

Features

  • Supports text area fields and single line text fields
  • Text fields and text area fields auto-resize to the target element and inherit it's styles
  • Support for JQuery UI autocomplete plugin
  • Support for textarea fields automatically expanding as the content grows through the use of jquery.textarea-exander.js dependency
  • Full support for Firefox, Chrome, Safari, and Internet Explorer 8+
  • All Javascript files are minified and Gzipped down to just under 2k.

Example

http://mattheworiordan.com/projects/jquery.editable.lite.js/example.html

Screen shot

image

Usage

Include jquery.editable.lite.js file after JQuery has been included.

If you are using the JQuery UI autocomplete plugin, then please ensure that javascript is included. If you would like to use the textarea autoResize option, then ensure you are including the jquery.textarea-expander.js file found in /vendor/js.

All tab lists must be ul (unordered lists) with the class "infinite-tabs". Example to follow:

$('div').editable(valueChangedCallback);

Repository and forking

I welcome feedback and commits to this library. Please fork me on Github at https://github.com/mattheworiordan/jquery.editable.lite.js

About

This script was written by Matthew O'Riordan

License

jquery.editable.lite.js is Copyright © 2011 Matthew O'Riordan, inc. It is free software, and may be redistributed under the terms specified in the LICENSE file.

jquery.editable.lite.js's People

Contributors

mattheworiordan avatar marcroberts avatar

Watchers

 avatar James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.