[ 2 posts ]

Ramo Karahasan

  • Username: ramo
  • Joined: Sun Feb 12, 2012 12:46 pm
  • Posts: 5
  • Offline
  • Profile

Default item in autocomplete resultlist

Post Posted: Thu Apr 19, 2012 6:25 am
+0-
Hi,

is there a way to display an default resultitem for example at the end of the result list in autocomplete?

for example: http://yuilibrary.com/yui/docs/autocomp ... ource.html

if i start typing "da" i get a result list. Imagine there is no result that fits to my search, could i add an element for example as a link, that alerts something? May be with the text "Miss your favourite artist? Click" ?

Would be great to get some hints.

Ramo

Ryan Grove

YUI Developer

  • Username: rgrove
  • Joined: Tue Dec 09, 2008 9:55 pm
  • Posts: 275
  • Location: Portland, OR
  • Twitter: yaypie
  • GitHub: rgrove
  • Gists: rgrove
  • IRC: rgrove
  • YUI Developer
  • Offline
  • Profile

Re: Default item in autocomplete resultlist

Post Posted: Thu Apr 19, 2012 8:38 am
+0-
Here's an example that demonstrates how to append some HTML to the bottom of the AutoComplete result list: http://jsfiddle.net/rgrove/2JK6q/
  [ 2 posts ]
Display posts from previous:  Sort by  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum