If I use Autocompleter.Local, I get a script error in IE the *very*
first time I hit a keystroke. Firefox lite reports
"''style'' is null or
not an object". It works thereafter. It works fine in Firefox.
IE: 6.0.2900 on WIndows XP SP2
Scriptaculous: 1.8.1
Prototype: 1.6.0.2
===========================================JavaScript code:
var myArray = ["a", "aa", "aaa",
"aaaa"];
window.onload = function() {
  new Autocompleter.Local("myField", "myDiv", myArray);
};
===========================================HTML code:
<fieldset>
  <legend>Autocomplete.Local</legend>
  <form action="#">
    <label for="myField">Data:</label>
    <input type="text" id="myField"/>
    <br/>
    <div id="myDiv" class="autocomplete"></div>
  </form>
</fieldset>
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Ruby on Rails: Spinoffs" group.
To post to this group, send email to
rubyonrails-spinoffs-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-spinoffs-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/rubyonrails-spinoffs?hl=en
-~----------~----~----~----~------~----~------~--~---