0
{{if inventory.title.length > 38}}
<p class="p1">
{{>(inventory.title.substring(0, 38) + '...').trim()}}
</p>
如何更正此代碼以顯示在IE9之前的IE中。我繼續得到以下字符串修剪不顯示在IE之前9
Error: Object doesn't support property or method 'trim'.
欲瞭解更多詳情,請參閱[** **這裏(http://stackoverflow.com/a/8522376/1577396) –
哪裏該被添加? – user1920546
@ user1920546使用前的任何地方。最好靠近所有腳本的頂部 – Ian