<div onclick="inA()" > 试试</div>
<div style="position:absolute; width:300px; height:200px; z-index:10000; display:none;" id="cc">
<div onclick="outA()">X</div>
<iframe src="1.html"></iframe>
</div>
<script type="text/javascript">
function inA()
{
document.getElementById('cc').style.display ="";
}
function outA()
{
document.getElementById('cc').style.display ="none";
}
</script>
<div style="position:absolute; width:300px; height:200px; z-index:10000; display:none;" id="cc">
<div onclick="outA()">X</div>
<iframe src="1.html"></iframe>
</div>
<script type="text/javascript">
function inA()
{
document.getElementById('cc').style.display ="";
}
function outA()
{
document.getElementById('cc').style.display ="none";
}
</script>
System.Text.RegularExpressions.Regex reg = new System.Text.RegularExpressions.Regex(@"^\d+$");
if (reg.IsMatch("123456"))
MessageBox.Show("ok");
else
MessageBox.Show("error");
var cc=/^[0-9]+$/;
aa=cc.test(bb); aa=true 数字 否则不是数字
onClick = "window3=window.open('','messageWindow','scrollbars=yes,width=175, height=300')">是不是可以弹出窗口呢,不过这里的大小你自己改了!