Web Bug Track: bug 165 - dynamic pre population fails in IE
Web Bug Track: bug 165 - dynamic pre population fails in IE
<script type="text/javascript">
myPreObj.innerHTML = 'This\nWill\nFail... no linebreaks or spaces';
</script>
Example Workaround Code:
<script type="text/javascript">
myPreObj.innerHTML = 'This\nWill\nFail... no linebreaks or spaces';
myPreObj.innerHTML = myPreObj.innerHTML;
</script>
keyword: preserve pre whitespace
沒有留言:
張貼留言