Prototype JS: IE Issues
Anyone having issues with the latest update of Prototype JS? I started using Prototype so things could be cross-browser very easily. And now portions of it are broken.
IE throws a “script error” when I try to do:
$(’dataContainerId’).innerHTML = ‘<p>stuff</p>’;
This didn’t happen until recently, when I started using the latest edition. It works in FF. Why not IE?
Anybody? You can find this question over at the Google Groups discussion.
Update 1: Roland tells me that it should be: $(’dataContainerId’).update(’<p>stuff</p>’);
Update 2 (delayed): the .update() method did work. Just be careful if you use underscores [_] in the ID names… that doesn’t always fly in IE with this, for some reason.
Ads

Add New Comment
Thanks. Your comment is awaiting approval by a moderator.
Do you already have an account? Log in and claim this comment.
Add New Comment