在IE7和IE8中不支持URL中的# [英] # in URL not support in IE7 and IE8

查看:137
本文介绍了在IE7和IE8中不支持URL中的#的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

你好,



我在本地主机的网址是



http:// localhost:63292 /eFASTManifolds/Default.aspx#login_form这是通过登录表单弹出窗口显示在IE7或IE8中。



所以请给我任何替代解决方案来替换url中的#和if你还有其他选择请给我。



href =#login_formclass =overlayid =login_form>



和这个href在锚标签中呼叫



AgreementPageUrl =〜/ Default.aspx#login_form;



如果你有,请给我解决方案。



谢谢

Shubham Gupta

7836062847

hello,

my URL in local host is

http://localhost:63292/eFASTManifolds/Default.aspx#login_form thats by login form popup not shows in IE7 Or IE8 .

so please give me any alternate solution to replace # in url and if you have other alternative then please give me.

href="#login_form" class="overlay" id="login_form">

and this href is in anchor tag calling from

AgreementPageUrl = "~/Default.aspx#login_form";

so please give me solution if you have.

Thanks
Shubham Gupta
7836062847

推荐答案

看起来你正在使用某种客户端例程机制。这些依赖于当前位置的hashchanged事件。

旧的IE不支持这个。



看看hasher.js ,这应该有助于解决这个问题。
Looks like you are using some kind of client side routin mechanism. These rely on the hashchanged event of the current location.
Older IE's don't support this.

Have a look at hasher.js, which should help to resolve that problem.


这篇关于在IE7和IE8中不支持URL中的#的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆