0
A
回答
4
不工作这个线程可以帮助你使它工作? : .trim() in JavaScript not working in IE
最后,看看消息从kaichanvong关于IE6
0
你可以找到答案在这里:Should i modify the prototype of String?
3
使自定义函数TRIM()为自己
if (typeof String.prototype.trim !== 'function') {
String.prototype.trim = function(s) {
return s.replace(/^\s+|\s+$/g, "");
}
}
相关问题
- 1. jQuery .trim()IE浏览器兼容性问题
- 2. TRIM功能在SQL Server
- 3. 等同于$ .trim在Javascript中?
- 4. git - trim whitespace
- 5. Batch Image Trim
- 6. JSF Trinidad tr:inputText trim
- 7. trim sql变体
- 8. Trim string with trim.End
- 9. Laravel 5 Validation Trim
- 10. C#XmlSerializer trim whitespaces
- 11. mysql concat with trim
- 12. PHP trim()问题
- 13. ATA TRIM规范?
- 14. asp.net mvc trim string
- 15. jquery .trim()with textboxes
- 16. 是php trim mb safe
- 17. SQL Server trim()问题
- 18. TRIM T-SQL参数
- 19. 在UIImagePickerController中使用Source类型的摄像头控制trim trim seekbar
- 20. 在Apache Pig中实施UPPER,TRIM和REPLACE
- 21. 如何在java和android中使用trim?
- 22. 使用TRIM()在个人记录
- 23. 在scala中使用trim关键字
- 24. asp .net dropdownlist trim数据
- 25. iPhone trim音频录制
- 26. SQL Server T-SQL TRIM END
- 27. struts的ActionForm和使用trim()
- 28. 的PostgreSQL 8.4,TRIM错误
- 29. Hide/Cap/Trim Table Width 100% - Tablesorter
- 30. Java String trim没有效果
这如果您提供了以下问题,问题会更容易回答:1)有问题的代码的小**代码段(不超过5行); 2)代码的输入,如果从第一部分不明显; 3)你*预期的输出*; 4)你实际观察到的输出*。现在它只会关闭。 – 2010-11-11 15:15:24