【发布时间】:2012-05-23 09:13:22
【问题描述】:
我正在尝试将我的语言(希伯来语)的字符串传递给脚本。 我已经建立了this页面
其中包含输入文本
<input type="text" class="filter" id="Filter"/>
还有一个脚本在更改时获取文本,然后表格过滤掉结果
<script>
$('#Filter').change(function() {
var str = $('#Filter').val();
str = str.replace(/[\s]/g, '_'); //replcae spaces to "_" (Otherwise we get errors)
$('#Table').load('printShorts.server.php?Sortby=<?echo $sort;?>&dir=<?echo $direction;?>&filter='+str+'&no-cache=' + (new Date()).getTime() ).fadeIn("slow");
});
</script>
在 FF 和 chrome 中传递了很好的值。 问题从 IE8(可能是 9)开始 你们建议我做什么? 不知道有没有像firebug这样的IE调试软件..
如果您在页面中注意到,我也使用了 UTF8
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
- 另一个问题 - 我不知道为什么向上和向下箭头仅在 IE 中呈现蓝色边框!这是怎么回事?
帮助将被appriciated..
【问题讨论】:
-
在 IE 中你可以在左下角看到错误。复制那个错误。在 IE 中按 F12 可以在 IE 8 中使用开发人员工具。
标签: jquery internet-explorer-8