代码
<html>
<head runat="server">
<title>绕绕选择器-wenmin</title>
<script src="Scripts/jquery-1.3.2-vsdoc.js" type="text/javascript"></script>
<script type="text/ecmascript">
function fun2() {
var i = $("#wu #shen #min #xx@[yyd]@[type='text']").val();
var i = $("@[yyd]");//效果一样
<head runat="server">
<title>绕绕选择器-wenmin</title>
<script src="Scripts/jquery-1.3.2-vsdoc.js" type="text/javascript"></script>
<script type="text/ecmascript">
function fun2() {
var i = $("#wu #shen #min #xx@[yyd]@[type='text']").val();
var i = $("@[yyd]");//效果一样
alert(i);
}
</script>
</head>
<body>
<form id="form1" runat="server">
<div>
<input type="button" value="sel2" onclick="javascript:fun2();" />
<div id="wu" style="font-size: 18px; font-weight: bold; margin: 20px;">
<div id="shen"><table id="min"><tr><td>
<input yyd='3' type="text" id="xx" value='sss' />
</td></tr></table></div>
</div>
</div>
</form>
</body>
</html>
}
</script>
</head>
<body>
<form id="form1" runat="server">
<div>
<input type="button" value="sel2" onclick="javascript:fun2();" />
<div id="wu" style="font-size: 18px; font-weight: bold; margin: 20px;">
<div id="shen"><table id="min"><tr><td>
<input yyd='3' type="text" id="xx" value='sss' />
</td></tr></table></div>
</div>
</div>
</form>
</body>
</html>