Not so much a debug console for IE but it helps,

Grab the IE Dev toolbar from Microsoft and the "DebugBar" (just google) and
you get a bunch more debuggint tools- still no firefox-like console though.

Gareth


On 3/16/07, ChrisT <[EMAIL PROTECTED]> wrote:
>
>
> I'm still pretty new on js and Prototype, so this is possibly already
> a known issue, or I might just be doing something dumb, but I thought
> I'd see if anyone's got any explanation for it.
>
> The problem occurred when running and RJS action from a Rails app
> (though I don't think it's related to either of those things). I have
> a div with id of description, which I'm updating with
>
> page.replace_html 'description', :partial => 'description'
>
> which is generating
>
> Element.update("description", "new text goes here")
>
> This works fine in Firefox and Safari, but in Opera and IE (6 & 7) I'm
> getting
>
> RJS error: object Error
>
> then the js statement as above.
>
> After much trial an error (BTW is there any way of getting a js
> console in Opera or IE?) I discovered that changeing the id of the div
> to item_description solves the problem.
>
> The only things I can think might be causing this (other than IE's
> usual pain-in-the-ass-edness), would be that there's a meta
> description tag, which is messing with the finding of the description
> div, or that perhaps description is somehow a reserved word of sorts.
>
> Can anyone enlighten me?
>
> Thanx
> Chris
>
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Spinoffs" 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-spinoffs?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to