日期:2014-05-16 浏览次数:20408 次
<div id="d_spell">
<input id="spell" title="" name="spell" class="input wide" type="text" validateurl="{config.webpath}tools/submit_ajax.ashx?action=validate_username"/>
</div>
<script type="text/javascript" src="{config.templateskin}/js/jquery-webox.js"></script>
<script type="text/javascript">
$(document).ready(function () {
$('#inside').click(function () {
$.webox({
height: 188,
width: 400,
bgvisibel: true,
title: '内嵌弹出层调用',
html: $("#pingxie").html()
});
});
$("#spell").keyup(function () {
var aaa = $("#spell").attr("title");
var bbb = $("#spell").attr("value");
if (aaa == bbb) {
alert("相同");
}
else {
alert("不同");
}
});
})
</script>
</head>
<body>
<a href="javascript:void(0);" id="inside" ><strong>单词拼写</strong></a>
<div id="pingxie"&nb