Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

> scriptaculous i Autocompleter.Local
Seba
post
Post #1





Grupa: Zarejestrowani
Postów: 12
Pomógł: 0
Dołączył: 9.03.2005

Ostrzeżenie: (0%)
-----


Witam, niby bardzo prosta obsługa a jednak nie udaje mi się tego uruchomić. Dla potrzeb testowych skrypt jest niemal identyczny jak na http://wiki.github.com/madrobby/scriptacul...completer-local co nadal nie rozwiązało mojego problemu.

  1. <link rel="stylesheet" href="autocomplete.css" type="text/css" >
  2. <script src="http://ajax.googleapis.com/ajax/libs/prototype/1.6.0.3/prototype.js"></script>
  3. <script src="http://ajax.googleapis.com/ajax/libs/scriptaculous/1.8.2/scriptaculous.js"></script>
  4. <script type="text/javascript" src="plugins/ulice.js"></script> ##Tutaj wczytuję tablicę ulice
  5. <script language="javascript">
  6. new Autocompleter.Local('bands_from_the_70s', 'band_list', ulice);
  7.  
  8. <p>
  9. <input id="bands_from_the_70s" autocomplete="off" size="40" type="text" value="" />
  10. </p>
  11.  
  12. <div class="autocomplete" id="band_list" style="display:none"></div>


Konsola błędów FF 3.6.10
Kod
Błąd: this.element is null
Plik źródłowy: http://ajax.googleapis.com/ajax/libs/scriptaculous/1.8.2/controls.js
Wiersz: 53
Go to the top of the page
+Quote Post

Posty w temacie
- Seba   scriptaculous i Autocompleter.Local   13.10.2010, 20:19:07


Reply to this topicStart new topic
1 Użytkowników czyta ten temat (1 Gości i 0 Anonimowych użytkowników)
0 Zarejestrowanych:

 



RSS Aktualny czas: 22.08.2025 - 05:33