I was looking for on the web for a way of autocompleting and found
this. I have looked over the wiki at Github and used the example lines
there to put it in my htmlas below.

I have loaded the .js scripts to /javascripts but nothing is working.
Am I missing something very obvious?
Is this dependent on AJAX or something? Please forgive the ignorance
but I have had absolutley no experience of AJAX or such like.

<script src="/javascripts/prototype.js" type="text/javascript"></
<script src="/javascripts/scriptaculous.js" type="text/javascript"></
<script script type="text/javascript" language="javascript">
var bandsList = [
new Autocompleter.Local('bands_from_the_70s', 'band_list', bandsList,
{ });
<style type="text/css">
div.autocomplete {
  <label for="bands_from_the_70s">Your favorite rock  band from the
  <br />
  <input id="bands_from_the_70s" autocomplete="off" size="40"
type="text" value="" />

<div class="autocomplete" id="band_list" style="display:none"></div>

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 [EMAIL PROTECTED]
For more options, visit this group at 

Reply via email to