小编jla*_*i79的帖子

Windows PowerShell ISE运行旧版本

我正在使用Windows PowerShell ISE编写PowerShell脚本.当我更改脚本中的某些内容并运行脚本时,不会执行最后保存的脚本版本,而是执行旧版本.只有当我第二次运行脚本时,它才会使用当前版本.如何始终运行最新版本的脚本?

powershell powershell-ise

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

如何控制Firefox中表格单元格的溢出?

我有一个表,并希望第一列有一个垂直滚动条.这适用于Chrome,IE9,iPad上的Safari但不适用于Firefox?为什么不?我究竟做错了什么?

HTML:

    <table>
        <tbody>
            <tr>
                <td class="col1">
                    <div class="wrapper">
                        <p>Test</p>
                        <p>Test</p>
                        <p>Test</p>
                        <p>Test</p>
                        <p>Test</p>
                        <p>Test</p>
                        ...
                    </div>
                </td>
                <td class="col2">
                </td>
            </tr>
        </tbody>
    </table>
Run Code Online (Sandbox Code Playgroud)

CSS:

html, body {
margin: 0;
padding: 0;
height: 100%;
width: 100%;
}

table {
width: 100%;
height: 100%;
}

table .col1 {
width: 20%;
height: 100%;
}

table .col1>div.wrapper {
width: 100%;
height: 100%;
overflow: auto; 
}

table .col2 {
width: 80%;
height: 100%;
background-color: red;
}
Run Code Online (Sandbox Code Playgroud)

html css firefox html-table

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

jQuery $不是一个函数

我有一个问题,包括我的网页中的jQuery脚本.我总是在第6行中得到错误"$ is not a function".我将脚本简化为以下非常简单的:

$(document).ready(function(){
  myTest();
});

function myTest(){
  window.console && console.log($("#test"));
}
Run Code Online (Sandbox Code Playgroud)

为什么第6行出现错误?为什么不在第1行呢?

javascript jquery

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