The values returned by getAttribute are not always the same across different
browsers.
Element#readAttribute simply wraps getAttribute and returns consistently.
If you read through the Prototype source, you can see the differences that
it resolves.
- Skip
On 9/14/07, Matt Foster [EMAIL
I suggest using Firebug to debug the problem.
http://www.getfirebug.com/
You can use breakpoints to trace down whatever is causing the error.
- Skip
On 8/5/07, Adriano [EMAIL PROTECTED] wrote:
Hey Everyone, I'm trying to use prototype but I cannot seem to use the
Ajax.Request in Firefox
If I understand you correctly, you are asking why alert3 doesn't show
your response text.
That's because the ajax request executes asynchronously
this.content is still 'b' at that point and has yet to be changed by
your handler method.
If you need to execute the ajax request synchronously,
On 6/25/07, Mislav Marohnić [EMAIL PROTECTED] wrote:
You can't achieve this in JavaScript. Simply let it go.
Word.
I like Mislav's approach to keep all the OOP functionality in Class.
Really don't want anything cluttering up the methods or properties of my
classes.
No real opinion on the name