# Javascript and auto\_complete\_for

**URL:** <https://www.ruby-forum.com/t/javascript-and-auto-complete-for/104917>\
**Category:** Rails\
**Created:** [May 23, 2007, 9:17pm UTC](https://www.ruby-forum.com/t/javascript-and-auto-complete-for/104917 "2007-05-23T21:17:02Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![craigrails](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/c2a13f/32.png) [@craigrails](https://www.ruby-forum.com/u/craigrails)\
**Post date:** [May 23, 2007, 9:17pm UTC](https://www.ruby-forum.com/t/javascript-and-auto-complete-for/104917/1 "2007-05-23T21:17:02Z")

</div>

I have updated my development version to 1.2.3 (where my production is  
still on 1.1.6) and the Macintosh OS 9 clients using Netscape 7.02 can  
no longer use auto\_complete\_for where it works fine on 1.1.6 which  
suggests to me that changes in something like prototype have broken my  
very broken Netscape 7.02 clients.

Since there is no further updates to the Netscape client past 7.02, is  
there something I can do to get some greater amount of compatibility for  
the javascript code in 1.2.3 for these clients?

–  
Craig W. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)

---

<div class="post-metadata">

**Author:** ![craigrails](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/c2a13f/32.png) [@craigrails](https://www.ruby-forum.com/u/craigrails)\
**Post date:** [May 23, 2007, 9:24pm UTC](https://www.ruby-forum.com/t/javascript-and-auto-complete-for/104917/2 "2007-05-23T21:24:02Z")

</div>

I would suggest downgrading the javascripts. The Rails stuff is just  
a thin wrapper on it anyway. Although, give the scriptaculous  
autocomplete demo a try in Netscape 7 just to be sure it really is  
what’s broken.

---

<div class="post-metadata">

**Author:** ![craigrails](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/c2a13f/32.png) [@craigrails](https://www.ruby-forum.com/u/craigrails)\
**Post date:** [May 23, 2007, 9:55pm UTC](https://www.ruby-forum.com/t/javascript-and-auto-complete-for/104917/3 "2007-05-23T21:55:07Z")

</div>

Not sure exactly how to downgrade javascripts.

I copied prototype.js from my 1.1.6 to my 1.2.3 but then  
auto\_complete\_for doesn’t seem to work for any client on 1.2.3

I can see rake rails:update:javascripts but I can’t see how to go  
backwards that way

Craig

On Wed, 2007-05-23 at 19:23 +0000, dasil003 wrote:

> > very broken Netscape 7.02 clients.
> > 
> > Since there is no further updates to the Netscape client past 7.02, is  
> > there something I can do to get some greater amount of compatibility for  
> > the javascript code in 1.2.3 for these clients?

–  
Craig W. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)

---

<div class="post-metadata">

**Author:** ![craigrails](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/c2a13f/32.png) [@craigrails](https://www.ruby-forum.com/u/craigrails)\
**Post date:** [May 24, 2007, 8:08pm UTC](https://www.ruby-forum.com/t/javascript-and-auto-complete-for/104917/4 "2007-05-24T20:08:52Z")

</div>

I will have to try that because this issue caught me totally by  
surprise. One of the selling points I used was that Rails worked fine  
with Netscape 7.02 on their old Mac’s - which it did until the  
javascript bundled with 1.2.3

I’m not complaining, we are talking about really old client applicatons

- just flabbergasted and I’ve done too much refactoring for the upgrade  
to 1.2.x to go back to 1.1.6 now

Thanks

Craig

On Thu, 2007-05-24 at 17:31 +0000, gustin wrote:

> > Not sure exactly how to downgrade javascripts.
> > 
> > > > still on 1.1.6) and the Macintosh OS 9 clients using Netscape 7.02 can
> > 
> > - Show quoted text -
> 
> >

–  
Craig W. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)

---

<div class="post-metadata">

**Author:** ![craigrails](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/c2a13f/32.png) [@craigrails](https://www.ruby-forum.com/u/craigrails)\
**Post date:** [May 24, 2007, 7:32pm UTC](https://www.ruby-forum.com/t/javascript-and-auto-complete-for/104917/5 "2007-05-24T19:32:46Z")

</div>

You could try the Unobtrusive Javascript plugin:  
[http://www.ujs4rails.com/](http://www.ujs4rails.com/)

~)o  
gustin

[http://www.entryway.net](http://www.entryway.net)
