1

I have problems with Jquery Address in IE 7 and 8. I did like that:

<script>
$.address.crawlable(false);
$.address.state('/');
$.address.strict(false);
$.address.parameter("param", "new_value");
</script>

In browsers is like this: www.site.com/?param=new_value

but, only IEs is like this: www.site.com/#?param=new_value

and still does the redirection the site, Anyone know how to solve this? I've looked at the documentation, but found nothing.

Thanks

4

1 に答える 1

1

私はこの問題を解決しました:

<script>
$.address.state('/');
$.address.value("?param=new_value");
</script>

IE では次のように表示されます: www.site.com/#/?param=new_value

好奇心から、IE ではハッシュ (#) が追加されるのでしょうか? ありがとう

于 2012-01-26T15:29:07.007 に答える