[Proto-Scripty] Re: Strange .update Error?

2008-10-31 Thread Jonathan Rosenberg
Original Message- > From: prototype-scriptaculous@googlegroups.com [mailto:[EMAIL PROTECTED] On > Behalf Of Jarkko Laine > Sent: Friday, October 31, 2008 10:02 > To: prototype-scriptaculous@googlegroups.com > Subject: [Proto-Scripty] Re: Strange .update Error? > > > > On Oc

[Proto-Scripty] Re: Strange .update Error?

2008-10-31 Thread Jarkko Laine
> On Oct 30, 5:20 pm, "Jonathan Rosenberg" <[EMAIL PROTECTED]> wrote: > > See below. this._question is a ref to $('question): > > > > > > >   > > > >

[Proto-Scripty] Re: Strange .update Error?

2008-10-31 Thread Jonathan Rosenberg
> What is "this._question"? Obviously update() works just fine in the > normal case, people would have noticed otherwise. :-) See below. this._question is a ref to $('question):

[Proto-Scripty] Re: Strange .update Error?

2008-10-31 Thread kangax
On Oct 30, 5:20 pm, "Jonathan Rosenberg" <[EMAIL PROTECTED]> wrote: > I'm having what I think is a weird problem with .update on IE. > > This statement fails: > >         this._question.update("You") > > but this works > >         this._question.update("You") > > It fails in the prototype.js code,

[Proto-Scripty] Re: Strange .update Error?

2008-10-31 Thread david
Hi Jonathan, is 'this._question' is equal to the body elements ? because the element.update does not work in IE in case the element is the body (and probably some other elements). If this is the case, try to use Element.update(this._question,'the text to update element with'); -- david On 31

[Proto-Scripty] Re: Strange .update Error?

2008-10-31 Thread T.J. Crowder
Hi Jonathan, What is "this._question"? Obviously update() works just fine in the normal case, people would have noticed otherwise. :-) Try this out: http://pastie.org/304786 I can use divs or spans or whatever with that, no issues. If you can create a small, self-contained example of the pro

[Proto-Scripty] Re: Strange .update Error?

2008-10-30 Thread Gabriel Gilini
Well, that's weird. It could be a bug, you should probably fill a ticket with some sample code and a copy of the error message at Lighthouse[1]. [1] http://prototype.lighthouseapp.com/projects/8886-prototype Cheers Gabriel Gilini www.usosim.com.br [EMAIL PROTECTED] [EMAIL PROTECTED] On Thu, Oc

[Proto-Scripty] Re: Strange .update Error?

2008-10-30 Thread cyiam
I couldn't get update to work correctly, so I ended up "clearing" the element out, then do an Element.insert. On Oct 30, 4:20 pm, "Jonathan Rosenberg" <[EMAIL PROTECTED]> wrote: > I'm having what I think is a weird problem with .update on IE. > > This statement fails: > >         this._question.