|
Post by Eric on Mar 1, 2005 15:53:19 GMT -8
<script type="text/javascript"> <!-- if(!document.all){ HTMLElement.prototype.innerText getter=function(){ return this.innerHTML.replace(/(<{1}.+?>{1}){1}/gi,''); } HTMLElement.prototype.innerText setter=function(text){ this.innerHTML=text; } } //--> </script> Allows the use of .innerText in a gecko browser. Headers (can be used on sites as well).
|
|
100%
|
Post by Aaron on Mar 1, 2005 18:49:51 GMT -8
Very useful if you want to use innerText. Great code Eric!
|
|
|
Post by Eric on Mar 1, 2005 18:54:33 GMT -8
Very useful if you want to use innerText. Great code Eric! Thx
|
|