日期:2014-05-20  浏览次数:20596 次

求教用jquery的hide怎么没隐藏啊
<tr id="sgzjy">
<th></th>
<td colSpan="3"><input style="WIDTH: 80%" id="$40288f5338e16ff10138f7112c5621e4$" value="散装罐借用申请流程" name="40288f5338e16ff10138f705025f21c6" /></td></tr>



我想隐藏着一行的内容,用jquery的代码如下:
$('#sgzjy').hide();

怎么没有效果呢?
   














------解决方案--------------------
HTML code
<html>
<head>
<script src="http://code.jquery.com/jquery-latest.min.js"></script>
<script type="text/javascript">
$(document).ready(
function() {
    $('#sgzjy').hide();
});
</script>
</head>
    <body>
        <table>
            <th>C1</th>
            <th>C2</th>
            <th>C3</th>
            <tr id="sgzjy">
                <td colSpan="3">
                    <input style="WIDTH: 80%" id="$40288f5338e16ff10138f7112c5621e4$" value="散装罐借用申请流程" name="40288f5338e16ff10138f705025f21c6" />
                </td>
            </tr>
        </table>
    </body>
<html>

------解决方案--------------------
你是用IE打开的吧
------解决方案--------------------
可以隐藏的啊。没有问题。。