87,994
社区成员
发帖
与我相关
我的任务
分享 <script language = javascript >
var inputvalue = document.getElementById("id").value;
function checkvalue()
{
if( inputvalue == document.getElementById("id").value )
{
alert("unchange!");
}
else
{
alert("change!");
inputvalue = document.getElementById("id").value;
}
}
</script>
<input name = "input1" id = "inputid" type = "text" >
<input type="submit" name="sub" value="提交"/>