JQuery Based Inplace Editing + AutoComplete

This script modifies and extends "Dylan Verheul's" autocomplete and "Mike Tuupola's" in-place editing script. Following changes were made in
1. Inplace editor (jeditable.js) : options for autocomplete can be passed as third parameter. This will provide a input box with autocomplete options.
2. Autocomplete (autocomplete.js): It can take an input separator option to provide autocomplete only for set of characters following the last input separator such as comma or semi-colon.

Demo

Enter Countries:
Click here
Separate countries by ";" (try something like this United States; Canada; ..... )

Download

Usage

	$('#edit').editable( 'echo.php', // POST URL to send edited content
						 { indicator : , // options for jeditable 
						   event: 'click'      // check jeditable.js for more options
					     },
					    { url: "search.php", //url form where autocomplete options will be extracted
						   minChars: 1, // check autocomplete.js for more options
						   formatItem:formatItem,
						   selectOnly: 1,
						   inputSeparator:';' // a new option of inputSeparator was introduced. 
						  }
						);

Questions/Comments
email me at ragrawal(at)gmail(dot)com for questions