[Proto-Scripty] autosuggest feature enter button hack in new Ajax.Autocompleter

2009-08-07 Thread Yogesh
this work with just single enter key? Thanks. Regards, Yogesh --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Prototype script.aculo.us group. To post to this group, send email to prototype-scriptaculous@googlegroups.com

[Proto-Scripty] Re: autosuggest feature enter button hack in new Ajax.Autocompleter

2009-08-07 Thread Yogesh
Hi Matt, I tried it and it works. Thank you so much for the quick reply. Thanks again. Regards, Yogesh On Aug 7, 11:48 am, Matt Foster mattfoste...@gmail.com wrote: I've never actually used this component but in researching the docs, could you use the callback for afterUpdateElement

[Proto-Scripty] Submit form on select for autosuggest

2009-10-07 Thread Yogesh
, Yogesh --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Prototype script.aculo.us group. To post to this group, send email to prototype-scriptaculous@googlegroups.com To unsubscribe from this group, send email

[Proto-Scripty] Autocompleter requst on hitting space character

2009-10-12 Thread Yogesh
['searchcustomerform'].submit(); } /script Thanks you. Sincerely, Yogesh --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Prototype script.aculo.us group. To post to this group, send email to prototype-scriptaculous

[Proto-Scripty] Re: Submit form on select for autosuggest

2009-10-08 Thread Yogesh Agashe
rUpdateElement : getSelectedId, minChars:1}); function getSelectedId(text, li) { $('class_id').value=li.id; document.forms['searchcustomerform'].submit(); } /script Thanks, Yogesh Matt Foster wrote: http://wiki.github.com/madrobby/scriptaculous/ajax-autocompleter aft

[Proto-Scripty] Re: Submit form on select for autosuggest

2009-10-12 Thread Yogesh Agashe
Thanks for pointing out this error Matt. I should have noticed this. But even after defining the function earlier, form submit doesn't work :( Sorry. Sincerely, Yogesh Matt Foster wrote: You've defined your function after you reference it... It needs to be created first then it can

[Proto-Scripty] Re: Submit form on select for autosuggest

2009-10-12 Thread Yogesh Agashe
="moo" (or something). Your submit() call in your _javascript_ function/method will now work. Sincerely, Yogesh Yogesh Agashe wrote: Thanks for pointing out this error Matt. I should have noticed this. But even after defining the function earlier, form submit doesn't work :

[Proto-Scripty] Re: formatting list item content in Ajax.Autocompleter

2009-11-11 Thread Yogesh Agashe
Hi Ashwin, How about floating the span elements? I have similar list and I use float. Add a class to your span elements. In CSS, assign a width and float them left or right as per your requirement. HTH. Yogesh Ashwin wrote: One of the reasons I like the Google Suggest powered autocomplete

[Proto-Scripty] Re: formatting list item content in Ajax.Autocompleter

2009-11-11 Thread Yogesh Agashe
wrote: Hi Yogesh, You gave me some food for thought! I added float:left; and width: 300px; attributes to all the span tags just to see how that turns out. When I do that, the span elements are outside the enclosing li elements, one below the other. I am no CSS expert, so I could be messing up

[Proto-Scripty] Re: formatting list item content in Ajax.Autocompleter

2009-11-11 Thread Yogesh Agashe
Sure, glad that I was able to help you ! Yogesh Ashwin wrote: In addition to your snippet, I had to add the following CSS attributes to the LI element: position: relative; overflow: auto; and slightly increased the width of the container UL element. It is now showing up as expected