[Rails] Re: TypeError: Element.insert is not a function

2010-04-08 Thread Dawn
I bumped into another problem made apparent using the horrible IE 7 browser. A javascript error showing there (but not in Firefox) led me to a code error in an outside vendor widget. Removing the code also stopped a seemingly unrelated error. You might consider removing all your .js files except

[Rails] Re: TypeError: Element.insert is not a function

2010-04-06 Thread Dawn
I recently overhauled pages for speed improvements including creating cached pages for my styles and javascript files and ended up with the same error. I performed diffs on my /public directories and found that my true.js file had concatenated file that was contained in another cached file. In ot

[Rails] Re: TypeError: Element.insert is not a function

2010-04-03 Thread Karthikeyan
Thanks for the answer, I included <%= javascript_include_tag :defaults %> and it worked! On Mar 30, 1:39 pm, Raven chen wrote: > try to add   <%= javascript_include_tag :defaults %> in your layout > file > > On Mar 30, 12:31 am, ES wrote: > > > I followed this railscast to add "complex" function

[Rails] Re: TypeError: Element.insert is not a function

2010-03-30 Thread ES
thanks for the suggestion. It's already in the layout file, any other ideas? On Mar 30, 10:39 am, Raven chen wrote: > try to add   <%= javascript_include_tag :defaults %> in your layout > file > > On Mar 30, 12:31 am, ES wrote: > > > I followed this railscast to add "complex" functionality to a

[Rails] Re: TypeError: Element.insert is not a function

2010-03-30 Thread Raven chen
try to add <%= javascript_include_tag :defaults %> in your layout file On Mar 30, 12:31 am, ES wrote: > I followed this railscast to add "complex" functionality to a form.  I > added the ability to click a link to add an element to an object form > and a link to remove it. > > http://railscasts