I bought "Practical Prototype and Script.aculo.us" and I'm going thru
the tutorial on autocompleters.  It is really basic but doesn't work
for some reason.  Wondering if anyone has any suggestions or has used
this before.  You can see looking below that it is loading the
javascript elements.  For some reason it is loading with
"autocomplete: off"  If I change it to on in firebug, it still doesn't
work.  Here is the code for the file:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
                <title>Chapter 12</title>
                <meta http-equiv="Content-Type" content="text/html; 
charset=utf-8" /
                <script src="../javascripts/prototype.js" 
                <script src="../javascripts/scriptaculous.js" type="text/
                <script type="text/javascript">
                        document.observe('dom:loaded', function() {
                                new Autocompleter.Local('player_name', 
                                ['James Polk', 'James Buchanan', 'Franklin 
                                'Millard Fillmore', 'Warren Harding', 'Chester 
                                'Rutherford Hayes', 'Martin Van Buren']);
                <input type="text" name="player_name" id="player_name" 
size="30" />
                <div id="player_sugestions"></div>
When I open it up with firebug, here is what I see:

Sorry had to edit it, didn't realize FB would copy the entire file
including the JS files.

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 to 
For more options, visit this group at 

Reply via email to