Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

barebones edit-in-place behavior on input text fields with jQuery (test-driven)

Notifications You must be signed in to change notification settings

ragaskar/flipfields

Open more actions menu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

flipFields

FlipFields is a fully-tested jQuery plugin for minimal edit-in-place behavior.

No AJAX behavior, nothing you don't need.

usage:

$('input').flipFields();

Clicking on a span tag will show the input; blurring or hitting enter will hide the input and update the span. Hitting ESC while in an input will cancel any changes made to an input. Input values should be text-only (Behavior with HTML-encoded input is untested).

flipFields takes an options hash. Currently the only option is spanClass, the value of which is added as a class to the generated spans.

example:

$('input').flipFields({spanClass: 'someClassName'});

About

barebones edit-in-place behavior on input text fields with jQuery (test-driven)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
Morty Proxy This is a proxified and sanitized view of the page, visit original site.