[wp-hackers] Re: [wp-svn] [6542] trunk: New tag interface, tag auto-suggest while typing.

DerFichtl derFichtl at gmail.com
Fri Jan 4 23:48:27 GMT 2008


another suggestion for the suggest feature. maybe you should add delay:
500 and minchars:3 to the jquery.suggest method call (second
parameter). you will avoid unnecessary ajax requests if the user is
still typing.

jQuery('#newtag').suggest( 'admin-ajax.php?action=ajax-tag-search',
{ onSelect: tag_flush_to_text, delay: 500, minchars: 2 } );

--
DerFichtl
http://bohuco.net/blog


More information about the wp-hackers mailing list