找不到对象问题
<script language= "JavaScript " >
<!--
fuction ChangeAction()
{
alert( "Nothing is wrong! ");
}
//-->
</script>
<tr>
<td> </td>
<td>
<input type= "button " name= "auditbutton " id= "auditbutton " value= "审核 " onClick= "ChangeAction(); " >
</td>
</tr>
这段代码执行的时候页面会报找不到对象错误
这是什么问题啊?
------解决方案-------------------- <%@ page contentType= "text/html;charset=gb2312 " %>
<script language= "JavaScript ">
function ChangeAction() <!--//fuction-->
{
alert( "Nothing is wrong! ");
}
</script>
<tr>
<td> </td>
<td>
<input type= "button " name= "auditbutton " id= "auditbutton " value= "审核 " onClick= "ChangeAction(); " >
</td>
</tr>