You should keep your "url" variables local only = eg "/ajax/order". That
will make sure you use the right script on the right page. Have you
tried using Tamper Data?

-Rob

Joe Hudson wrote:
> Thank you very much for your reply, Cam.
> 
> Actually I am having the opposite problem.  I can successfully test against
> 'http://demo.script.aculo.us/ajax/order' even when I am serving up the page
> locally.  The problem that I am having is when I try to use localhost as the
> Ajax URL.  Any ideas?
> 
> 
> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of Cam McVey
> Sent: Tuesday, February 14, 2006 10:48 AM
> To: rails-spinoffs@lists.rubyonrails.org
> Subject: Re: [Rails-spinoffs] problem with sortable lists and IE
> 
> Hi Joe,
> 
> The problem is that you're attempting to make a remote call via the
> Ajax.Updater with is not allowed. (It's a security thing -- calls are
> only allowed to go back to the server that originally served up the
> page).
> 
> Where you have: "new Ajax.Updater('list-info',
> 'http://demo.script.aculo.us/ajax/order', ..."
> 
> Change it to call a page on "'http://localhost:8080/";
> 
> Hope this helps!
> 
> Regards,
> Cam
> 
> _______________________________________________
> Rails-spinoffs mailing list
> Rails-spinoffs@lists.rubyonrails.org
> http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs
_______________________________________________
Rails-spinoffs mailing list
Rails-spinoffs@lists.rubyonrails.org
http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs

Reply via email to