Hi Simon , hi Tomas hi all
this part of code needs insert in other page or in the same?
<ul>
<li>your mom</li>
<li>yodel</li>
</ul>
Thomas Fuchs ha scritto:
Ajax requests _must_ go to the same domain as the page they're
contained in.
So, you can't call script.aculo.us directly from your script when
you're running
it locally.
-Thomas
Am 07.01.2006 um 20:33 schrieb Simon Brüchner:
I copied an exact copy of "http://demo.script.aculo.us/ajax/
autocompleter"
to my harddisc inclusive all .js and .css.
Then I changed "new Ajax.Autocompleter('contact_name',
'contact_name_auto_complete', '/ajax/
auto_complete_for_contact_name', {})"
to
"new Ajax.Autocompleter('contact_name', 'contact_name_auto_complete',
'http://demo.script.aculo.us/ajax/auto_complete_for_contact_name', {})"
But this doesn't work. Did I something wrong? How can I debug?
Simon
lists.rubyonrails.org/mailman/listinfo/rails-spinoffs
_______________________________________________
Rails-spinoffs mailing list
[email protected]
http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs