> 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):
<div id="outer">
<img id='tobi' src="/images/help/tobi.png" />
<div class="top-left"></div><div class="top-right"></div>
<div class="inside">
<p id='question' class="notopgap question">
<!-- Question goes here -->
</p>
<ul id='answers'>
<!-- <li id='li-1'>answers go here</a></li> -->
</ul>
<p class="nobottomgap">
<a href='#' onClick='wiz.prev();'>
<img id='back' src="/images/help/back.png"
/></a>
</p>
</div>
<div class="bottom-left"></div><div class="bottom-right"></div>
</div>
If I change the statement from
this._question.update('<p>Anything</p>');
to
this._question.update().insert('<p>Anything</p>');
It works fine on IE.
When it fails it is dying on this statement in prototype.js (line 2457):
else element.innerHTML = content.stripScripts();
It dies with "Unknown runtime error". I did a little inspecting in the
debugger & element & content look correct.
> @cyiam:
--
Jonathan Rosenberg
Founder & Executive Director, Tabby's Place
http://www.tabbysplace.org/
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Prototype & script.aculo.us" 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/prototype-scriptaculous?hl=en
-~----------~----~----~----~------~----~------~--~---