Code: Select all
<script type="text/javascript">
<!-- Hide me from the peeking people
var oldHTML;
function showNewHTML(el)
{
//I think this is where it breaks
oldHTML = el.innerHTML;
el.innerHTML = 'New text';
}
function restoreOldHTML(el)
{
el.innerHTML = oldHTML; //oldHTML seems to now be 'New text'
}
// -->
</script>