Hi,

I'm using the latest script.aculo.us (1.8.2) and prototype version
with Ruby on Rails app. I am implementing autocomplete on two pages
(browse and queue), on queue page, my autocomplete text form works
fine. However in browse it doesn't although I call it the same way. In
browse, no highlight is present, so I can't use the keyboard to select
multiple options. This is the inner HTML of browse. Notice that class
'' is attributed to <ul> tag
--------------browse.html---------------
<div>
<ul class="">
<li><strong>mot</strong>[email protected]</li>
<li>to@<strong>mot</strong>her.biz</li>
<li>in@<strong>mot</strong>herwas.cz</li>
<li>said@<strong>mot</strong>herspurpose.cn</li>
</ul>
</div>

------------queue.html------------------
<ul>
<li class="selected"><strong>mot</strong>[email protected]</li>
<li class="">to@<strong>mot</strong>her.biz</li>
<li class="">in@<strong>mot</strong>herwas.cz</li>
<li class="">said@<strong>mot</strong>herspurpose.cn</li>
</ul>

both div looks like

new Autocompleter.Local('mailbox_name', 'mailbox_auto_complete_list',
mailboxes_email, { fullSearch: true, frequency:0, minChars: 1,
ignoreCase: true });

Do you know why autocompleter didn't assign class="selected" to <li>
tag in browse.html? Instead it assigns blank class to <ul> tag.


--~--~---------~--~----~------------~-------~--~----~
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 [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/prototype-scriptaculous?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to