OnClick函數上的錯誤。錯誤是「不能從外面返回一個函數或方法」。OnClick函數上的錯誤
HTML
<table width="100%" border="0" cellspacing="0" cellpadding="0" height=atuo class="table_content">
<tr class="tr_title" align="center">
<td align="center" width="1%" class="table_content_td">
<input name="chkall" type="checkbox" id="chkall" onClick="return cf_checkall('this.document.form1.chkdel',this.checked);" helpid="14">
</td>
<td nowrap width="12%" align="center" class="table_content_td">
RN
</td>
<td nowrap width="12%" align="center" class="table_content_td">
Driver Name
</td>
<td nowrap width="12%" align="center" class="table_content_td">
Phone Number
</td>
<td nowrap width="12%" align="center" class="table_content_td">
Vehicle Number
</td>
<td nowrap width="12%" align="center" class="table_content_td">
Fueled in Ltrs
</td>
<td nowrap width="12%" align="center" class="table_content_td">
Fueling Time
</td>
<td nowrap width="12%" align="center" class="table_content_td">
Region
</td>
<td nowrap width="15%" align="center" class="table_content_td">
Assign To Department
</td>
</tr>
當我運行該項目,然後會顯示以下錯誤。請幫助我如何刪除這些錯誤。我認爲它的ClassPath或環境變量的錯誤。有人指導我如何將classpath設置或設置環境變量爲WebLogic
The WebLogic Server did not start up properly.
java.io.InvalidClassException: javax.management.MBeanAttributeInfo; local class incompatible: stream classdesc serialVersionUID = 7043855487133450673, local class serialVersionUID = 8644704819898565848
at java.io.ObjectStreamClass.initNonProxy(ObjectStreamClass.java:562)
at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1583)
at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1496)
at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1583)
at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1496)
at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1732)
at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1329)
at java.io.ObjectInputStream.readArray(ObjectInputStream.java:1667)
at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1323)
at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1947)
at java.io.ObjectInputStream.defaultReadObject(ObjectInputStream.java:480)
at javax.management.MBeanInfo.readObject(MBeanInfo.java:669)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
**的Java * *與Javascript **完全不同。o檢查如何使用onClick:http://reference.sitepoint.com/html/event-attributes/onclick。你只需要函數名稱。 – BLaZuRE
可能是編輯器的假陰性。請參閱http://stackoverflow.com/a/8930948。 –
你的意思是我不需要把回報放在Onclick – Programmer