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