|
If you replace your old RetPassage() with this one, it works in IE 6, Opera 7, and Mozilla. I don't IE 5.5 or 5, so can't test on that, but this is standard DOM manipulation, so it should work back to 5.0 I think.
<script type="text/javascript"> function RetPassage(){ var temp=window.location.href var i=temp.indexOf("?",1) if(i>1){ temp=temp.substring(i+1) temp=temp.replace("%20"," ") passageElement = document.getElementById('Passage') passageElement.value=temp } } </script>
Also, because you don't specify a !DOCTYPE at the top of your document, you might find that CSS reacts differently across browsers. Then again you might not :) Using a DOCTYPE rather implies that you're coding to a specific standard, and geeks will bitch at you for not validating, whereas if you don't bother they probably won't pester you. Geeks like giving out opinions, but they don't much like teaching apparently!
|