Created
February 16, 2013 06:43
-
-
Save lanqy/4965852 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* IE9表格渲染bug修复,表格数据量大时,ie9下莫名其妙出现空的td | |
*/ | |
IE9TabelRenderFixed: function(str){ | |
var reg = new RegExp('>[ \t\r\n\v\f]*<', 'g'); | |
return str.replace(reg, '><'); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment