# Ajax and FireFox

**URL:** <https://www.ruby-forum.com/t/ajax-and-firefox/64974>\
**Category:** Rails I18n\
**Created:** [August 15, 2006, 2:21pm UTC](https://www.ruby-forum.com/t/ajax-and-firefox/64974 "2006-08-15T14:21:51Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Naga\_harish\_K](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/n/90ced4/32.png) [@Naga\_harish\_K](https://www.ruby-forum.com/u/Naga_harish_K)\
**Post date:** [August 15, 2006, 2:21pm UTC](https://www.ruby-forum.com/t/ajax-and-firefox/64974/1 "2006-08-15T14:21:51Z")

</div>

Hi all,  
I have created a new application 1month ago. In that application i  
have a link Add New. This link is given using Ajax(\<%= link\_to\_remote(  
‘Add New’,  
:update =\> “abc”,  
:url =\>{ :controller=\>“xyz”,:action =\>  
:new},  
:position =\> “after” ) %\>)

and also i gave \<%= javascript\_include\_tag ‘prototype’ %\> to define  
ajax.  
It worked good and i’m using that application since 1 month.

But today when i click on add new i’m not getting the form. Its giving  
an error “Ajax not defined”.Even its not working in my local  
machine.(all these things,i’m doing using FireFox).

So i tried in IE. Its working properly. So what might be the problem?  
Why its not working in Firefox??

Thanks and Regards,  
Harish

---

<div class="post-metadata">

**Author:** ![Naga\_harish\_K](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/n/90ced4/32.png) [@Naga\_harish\_K](https://www.ruby-forum.com/u/Naga_harish_K)\
**Post date:** [April 26, 2007, 9:54am UTC](https://www.ruby-forum.com/t/ajax-and-firefox/64974/2 "2007-04-26T09:54:28Z")

</div>

Naga harish Kanegolla wrote:

> Hi all,  
> I have created a new application 1month ago. In that application i  
> have a link Add New. This link is given using Ajax(\<%= link\_to\_remote(  
> ‘Add New’,  
> :update =\> “abc”,  
> :url =\>{ :controller=\>“xyz”,:action =\>  
> :new},  
> :position =\> “after” ) %\>)
> 
> and also i gave \<%= javascript\_include\_tag ‘prototype’ %\> to define  
> ajax.  
> It worked good and i’m using that application since 1 month.
> 
> But today when i click on add new i’m not getting the form. Its giving  
> an error “Ajax not defined”.Even its not working in my local  
> machine.(all these things,i’m doing using FireFox).
> 
> So i tried in IE. Its working properly. So what might be the problem?  
> Why its not working in Firefox??
> 
> Thanks and Regards,  
> Harish

Could anyone find any solution to this? I am also facing similar issue,  
where the javascript\_include\_tag “prototype” does not seem to work in  
Firefox.

Please let me know if anyone finds any solution… I need it  
desparately.

Thanks a lot in advance.

---

<div class="post-metadata">

**Author:** ![Naga\_harish\_K](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/n/90ced4/32.png) [@Naga\_harish\_K](https://www.ruby-forum.com/u/Naga_harish_K)\
**Post date:** [April 9, 2008, 12:25am UTC](https://www.ruby-forum.com/t/ajax-and-firefox/64974/3 "2008-04-09T00:25:44Z")

</div>

sayali wrote:

> Naga harish Kanegolla wrote:
> 
> > Hi all,  
> > I have created a new application 1month ago. In that application i  
> > have a link Add New. This link is given using Ajax(\<%= link\_to\_remote(  
> > ‘Add New’,  
> > :update =\> “abc”,  
> > :url =\>{ :controller=\>“xyz”,:action =\>  
> > :new},  
> > :position =\> “after” ) %\>)
> > 
> > and also i gave \<%= javascript\_include\_tag ‘prototype’ %\> to define  
> > ajax.  
> > It worked good and i’m using that application since 1 month.
> > 
> > But today when i click on add new i’m not getting the form. Its giving  
> > an error “Ajax not defined”.Even its not working in my local  
> > machine.(all these things,i’m doing using FireFox).
> > 
> > So i tried in IE. Its working properly. So what might be the problem?  
> > Why its not working in Firefox??
> > 
> > Thanks and Regards,  
> > Harish
> 
> Could anyone find any solution to this? I am also facing similar issue,  
> where the javascript\_include\_tag “prototype” does not seem to work in  
> Firefox.
> 
> Please let me know if anyone finds any solution… I need it  
> desparately.
> 
> Thanks a lot in advance.

Hi,  
I ran into the same problem today, IE works fine for link\_to\_remote, but  
firefox is not! So what is the problem with firefox??

Thanks for any help!
