/**
* jquery.hintbox.js v1.4 - www.wiipass.com
*
* @author Tiziano Treccani <treccani.tiziano@tiscali.it>
* Copyright (c) 2009 Tiziano Treccani - released under MIT License
*
* Permission is hereby granted, free of charge, to any person
* obtaining a copy of this software and associated documentation
* files (the "Software"), to deal in the Software without
* restriction, including without limitation the rights to use,
* copy, modify, merge, publish, distribute, sublicense, and/or sell
* copies of the Software, and to permit persons to whom the
* Software is furnished to do so, subject to the following
* conditions:
* The above copyright notice and this permission notice shall be
* included in all copies or substantial portions of the Software.
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
* EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
* OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
* NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
* HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
* WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
* FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
* OTHER DEALINGS IN THE SOFTWARE.
*/
********** REVISION HISTORY **********
2010-04-04 : jQuery Hintbox 1.4 released (Easter release). From this function jQuery 1.4 will be used.
- New event 'onListRetrieved' added. See examples and documentation to learn more about it.
- ImmediateList option added. Thans to jaco-pixeldump for the code :-)
- Fix not required full list caching bug
- Minor bugs fixed
2009-08-18 : jQuery Hintbox 1.3 released
- MatchRule option added. This option is enabled when MatchHint options is enabled too.
It allows to filter result list values by 3 criteria: StartsWith [S], EndsWith [E], Contains, [C].
Values allowed are "S", "E", "C".
Default value is: "S".
- JSON option added. If json option is enabled, hintbox plugin want to receive a list made like this:
{
"list" : [
"AAA",
"BBB",
"CCC"
]
}
where "AAA", "BBB", "CCC" are the list values.
- Minor code optimizations and fixes
2009-05-16 : jQuery Hintbox 1.2 released
- Match hint option added. This option allows to filter resulting list showing only entries matching with input text. Default value is -> matchHint : false
- Disabled automatic browser autocomplete function. Thanks Eric ;-)
- Fix css bug when resulting list was empty
2009-04-17 : jQuery Hintbox 1.1 released
- Sort option added. It implements 'Levenshtein distance' (http://en.wikipedia.org/wiki/Levenshtein_distance). Default value is -> sort : false
- UseCache option added. Default value is -> useCache : true
- Limit option added. If limit value is <= 0 resulting list has no limit. Default value is -> limit: 0
2009-03-31 : jQuery Hintbox 1.0 released