Hi, Ed.
You're right. Ok, I'll test further my local setup and get back with
more info to let you diagnose the problem. Thank you very much !
Best regards,
Paolo
Ed C. ha scritto:
Paolo --
In firefox, if you open the _javascript_ console, you'll see the
following error from http://script.aculo.us/
"Error: uncaught exception: Security Error: Content at
http://script.aculo.us/ may not load data from
http://demo.script.aculo.us/"
The problem is, because of security reasons, browsers cannot make ajax
requests across different domains -- in this case, the demo on the
homepage tries to go from "www" (implied) to "demo"
IE is more lax in it security, and be default, allows this
'cross-site' scripting.
I believe that's why the autocomplete-specific demo page works and the
demo on the homepage does not.
(It's not related to Prototype version differences)
On 5/6/06, Paolo Asioli <[EMAIL PROTECTED]> wrote:
No, that works, but if you look at the js
source it's based on Prototype
1.3
Go to
http://script.aculo.us/
In the middle of the page you'll read:
Make your users happier by providing them with local- or
AJAX-controlled
auto-completing text fields.
Type a name:
The text box after that should be a sort of autocompleting field. In
IE I
see it opening a window just below the text field.
In FF I don't see anything. (just like my tests with the latest
version of
scriptaculous, under symfony)
Looking at the source of the page I see that it's based upon Prototype
1.4.0_pre4
So it looks like somewhere after version 1.3 something was broken with
compatibility with FF
Nicholas Schlueter ha scritto:
I tested http://demo.script.aculo.us/ajax/autocompleter
with FF
1.5.0.3 and it worked fine. Is this the page you are getting errors
on?
On 5/6/06, Paolo Asioli <[EMAIL PROTECTED]> wrote:
Hi, Ed !
No need to copy code, if you go to
http://script.aculo.us/
with IE you see the autocomplete field correctly
If you visit it with FF 1.5.0.2 like me the autocomplete in the page
won't
work. At least for me...
Thank you very much.
Best regards,
Paolo
Ed C. ha scritto:
Paolo --
Can you copy and paste some of your code?
(Also, make sure you're using "ID" attributes in addition to the
"name"
attribute on your input field.)
Regards,
Ed C.
On 5/5/06, Paolo Asioli <[EMAIL PROTECTED]> wrote:
> Hello,
>
> I'm using scriptaculous library (in symfony) v. 1.6.1
>
> Great library !!!!!
>
> I have a problem.
>
> While in IE6 it's all ok (the autocomplete field works perfectly)
in FF
> 1.5.0.2 the field apparently isn't working. If I try the example
in the
> scriptaculous homepage (v. 1.4.0_pre4 of Prototype) doesn't work
with
> FF, while the simple online demo, that uses v. 1.3.0 of
Prototype, works
> perfectly woth firefox.
>
> Am I missing something ?
>
> Thank you in advance.
>
> Best regards,
> Paolo
>
>
> _______________________________________________
> 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
--
Ing. PAOLO S. ASIOLI <[EMAIL PROTECTED]>
Consulenza Informatica
Tel. +39 011 3851662 Cell. +39 335 8430361
_______________________________________________
Rails-spinoffs mailing list
Rails-spinoffs@lists.rubyonrails.org
http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs
--
DCRails.com || Making the Metrorail fun!
_______________________________________________
Rails-spinoffs mailing list
Rails-spinoffs@lists.rubyonrails.org
http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs
-- Ing. PAOLO S. ASIOLI <[EMAIL PROTECTED]>
Consulenza Informatica Tel. +39 011 3851662 Cell. +39 335 8430361
_______________________________________________
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
--
Ing. PAOLO S. ASIOLI <[EMAIL PROTECTED]>
Consulenza Informatica
Tel. +39 011 3851662 Cell. +39 335 8430361
|
_______________________________________________
Rails-spinoffs mailing list
Rails-spinoffs@lists.rubyonrails.org
http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs