Ah! I found the solution. Just the process of typing up the
questions here can be very helpful. I changed the version number
('jquery','1.3.2'); to 1.4 , the latest. Now the browse button
works.
There is still one error loading prototype.js (below). But it's not
fatal.
Message: Object doesn't support this property or method
Line: 4621
On Mar 7, 4:24 am, Vincent P <[email protected]> wrote:
> Here is my js view: http://pastie.org/858075 . The debugger stops
> at line 31 : google.load('jquery','1.3.2');
>
> After I added at line 37 jQuery.noConflict(); , Firefox and Safari
> also stop working. If I remove line 37, those browsers work but IE
> never works regardless.
>
> And here is where the error is in prototype.js:http://pastie.org/858091
> . var nodes = $(element).getElementsByTagName('*');
>
> Please help. Thanks for your time.
>
> On Mar 7, 3:52 am, Vincent P <[email protected]> wrote:
>
>
>
> > I meant the instructions
> > athttp://docs.jquery.com/Using_jQuery_with_Other_Libraries
> > did not help
>
> > On Mar 7, 3:51 am, Vincent P <[email protected]> wrote:
>
> > > I followed the instructions here to call jQuery.noConflict();
> > > but that did not help.
>
> > > On Mar 7, 2:39 am, Vincent P <[email protected]> wrote:
>
> > > > In Internet Explorer 8, I am getting the following error "Object
> > > > doesn't support this property or method" at line 4821 of
> > > > prototype.js. The debugger stops at this line: var nodes = $
> > > > (element).getElementsByTagName('*');
>
> > > > The page contains a Browse button from SWFUpload. It works fine in
> > > > Firefox and Chrome. I am following the example
> > > > athttp://www.joesak.com/2009/09/18/online-photo-gallery-payment-order-f...
> > > > andhttp://jimneath.org/2008/05/15/swfupload-paperclip-and-ruby-on-rails/
> > > > .
>
> > > > The other problem is that after I changed the name of prototype.js to
> > > > prototype.js.old to prevent it from loading, the problem remains.
> > > > The page still shows the error at this file. Where is the phantom
> > > > prototype.js. Passenger Phusion stores it? Apache? I run on Ubuntu
> > > > btw.
>
> > > > Please help. Thanks.- Hide quoted text -
>
> > > - Show quoted text -- Hide quoted text -
>
> > - Show quoted text -- Hide quoted text -
>
> - Show quoted text -
--
You received this message because you are subscribed to the Google Groups "Ruby
on Rails: Talk" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en.