Nice, especially the event stuff!
Still, i think it's a bit of reinventing the wheel, as unittest.js
that comes with Prototype/scripty supports automated browser tests
(runs all installed browsers against all tests...). It would be great
if we can merge the event raise code into the existin
It likes like the latest (1.6) Prototype has a conflict with MS
Virtual Earth. The labels on the control panel are hidden in FireFix.
This is a short code that demonstrate the problem:
Prototype.js vs. Virtual Earth
http://www.prototypejs.org/assets/2007/11/6/
prototype.js">
h
I am using prototype version 1.6.0.
Currently when updating typical (e.g. SPAN, DIV, TD, etc.) DOM
elements, a simple
$('div1').update('new text');
would update the text of the element. That's fine, but what about
images?
If I do that with an image tag, I would hope to be updating the src,
bu
The thing is that someone who knows Prototype knows that update
changes the innerHTML of an element. If another programmer sees your
code and sees you're updating an image, he'll be a little puzzled :)
If you use image.src = path, or image.setAttribute("src", path) or
image.writeAttribute("src",