小编Ram*_*ode的帖子

如何调用IE11特定的CSS

我在IE11中遇到填充问题,并且我尝试使用IE特定的语句来控制CSS,例如

<!--[if IE 11]>
<link rel="stylesheet" type="text/css" href="http:kin/frontend/enterprise/wyf-upgrade/css/styles-ie-11.css" media="all" />
<![endif]-->
Run Code Online (Sandbox Code Playgroud)

但是这种情况无法正常工作。请提出解决该问题的任何解决方案。

html javascript css

5
推荐指数
1
解决办法
2770
查看次数

如何使用jquery双击传递属性值

我想在单击功能上传递空白值,并希望双击时重定向.

这是我的HTML代码

在此输入图像描述

j-query的代码

$(function () {

        var clicker = $('#Nav a');

        $(this).click(function () {
            $(this).attr('href', '');
        });

        clicker.dblclick(function () {
            window.location = $(this).attr("href");
        });
}
Run Code Online (Sandbox Code Playgroud)

请建议我如何为两个不同的函数或任何其他方式传递相同的属性值.

html javascript jquery

1
推荐指数
1
解决办法
608
查看次数

标签 统计

html ×2

javascript ×2

css ×1

jquery ×1