18ago/0910
jQuery Hintbox 1.3 released
jQuery Hintbox 1.3 news
- 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.
DOWNLOAD HERE : jquery hintbox 1.3
Working demo: HERE
suggestions and comments are welcome
![[Ask]](http://www.wiipass.com/wp-content/plugins/bookmarkify/ask.png)
![[del.icio.us]](http://www.wiipass.com/wp-content/plugins/bookmarkify/delicious.png)
![[Digg]](http://www.wiipass.com/wp-content/plugins/bookmarkify/digg.png)
![[Facebook]](http://www.wiipass.com/wp-content/plugins/bookmarkify/facebook.png)
![[Faves]](http://www.wiipass.com/wp-content/plugins/bookmarkify/faves.png)
![[Google]](http://www.wiipass.com/wp-content/plugins/bookmarkify/google.png)
![[LinkedIn]](http://www.wiipass.com/wp-content/plugins/bookmarkify/linkedin.png)
![[Mister Wong]](http://www.wiipass.com/wp-content/plugins/bookmarkify/misterwong.png)
![[MySpace]](http://www.wiipass.com/wp-content/plugins/bookmarkify/myspace.png)
![[Technorati]](http://www.wiipass.com/wp-content/plugins/bookmarkify/technorati.png)
![[Twitter]](http://www.wiipass.com/wp-content/plugins/bookmarkify/twitter.png)
![[Windows Live]](http://www.wiipass.com/wp-content/plugins/bookmarkify/windowslive.png)
![[Email]](http://www.wiipass.com/wp-content/plugins/bookmarkify/email.png)
novembre 4th, 2009 - 19:43
hello,
thanx for the code, i was seeking such stuff and it seems to fit my needs.
I’m new to jQuery, but i was to add a nice feature that i haven’t yet seen in any autocomplete boxes: force to open full or partial list, I’ve choosen PAGEDOWN keycode.
f.i. if you have just not an idea to what to insert, just hit page_down and get immediate list:
edit ACTIONS field:
…
SPACE: 32,
PAGEUP: 33,
PAGEDOWN: 34
}
edit init function to include pagedown:
input.keyup(function(event){
if (event.keyCode != ACTIONS.UP && event.keyCode != ACTIONS.DOWN &&
event.keyCode != ACTIONS.ENTER && event.keyCode != ACTIONS.LEFT && event.keyCode != ACTIONS.RIGHT
&& event.keyCode != ACTIONS.PAGEDOWN){
…
finally add a clause to listen to pagedown hits:
…
// hide dropdown list when pressed enter from input text
if (event.keyCode == ACTIONS.ENTER){
var container = getHintListContainer(input);
if (container.get() != ”){
closeHintResults(input);
}
}
else if (event.keyCode == ACTIONS.PAGEDOWN){
loadList(input);
}
…
hope you’ll find it useful
Jaco
dicembre 19th, 2009 - 20:45
I like the simplicity of this plugin, but I wanted to return more data then just a list array. I probably overlooked an option that already did this, but if not…
In the loadList function, after it checks the entries == null, the jQuery.getJSON callback:
list.each(function(){
if( typeof(this) == ‘object’) {
str += this[options.notation];
} else {
str += this;
};
if(i < listSize){
str += options.separator;
};
i++;
});
dicembre 21st, 2009 - 10:04
Great plugin… It has all what I need, but I have some problem in IE. (I hate this browser.)
The hintbox “listbox” is not displaying in IE. I can select item using arrow keys, so “listbox” is there. (And request and response proceed – says application logs.)
I think, thats problem with z-index, which can be solved with jQuery bgiframe plugin – like this:
jQuery(‘#filterName’).hintbox({
url: ’someJ2EEUrl…’,
onListLoaded: function(list) {
jQuery(“.hintbox_list_container”).bgiframe();
}
});
But, its a shame, this solution doesnt work.:(
I will try to patch hintbox to use bgiframe directly.
aprile 1st, 2010 - 18:21
ho notato che quando scrivi qualcosa nel form e poi cancelli ci
aprile 1st, 2010 - 20:00
Ciao, e grazie per aver testato il plugin.
Il problema l’ho notato anche io, devo vedere quale bug si cela dietro al problema e poi rilascer
aprile 2nd, 2010 - 11:15
bhe non sono un esperto ma credo che appena il campo viene attivato con qualche lettera il motore inizia a cercare tar le citt
aprile 2nd, 2010 - 12:02
visto che non avrai nient’altro da fare questo we volevo aggiungere un’altra richiesta.
sarebbe molto comodo poter associare ad ogni citt
aprile 3rd, 2010 - 22:26
Hi all, I’ve just released the new jQuery Hinbox 1.4 version. Please try it! Happy Easter
aprile 28th, 2010 - 21:55
Hello,
Greetings from Bulgaria!
Thank you very much for this plugin! Your software is superb!
I’ve been stuck on it for few days before I discover that when my titles contain many characters it stop working. So in my metadata file I just limit the characters to 40 and query results to 200. Now everything is fine! Except Internet explorer of course but who cares about IE!
Best Regards: Kalin
aprile 29th, 2010 - 09:49
Hi Kalin, thank you very much for your appreciations.
I’ve never discovered such a bug, I’ll investigate on it. Did you try using the new 1.4 version? If you’ll try it, can you please give me a feedback?
Kindly regards