现有如下html代码
<html:text property="nrmRef3" size="50" maxlength="255" readonly="true" onFocus="check();"/>生成页面时报错:Attribute onFocus invalid for tag text according to TLD at org.apache.jasper.compiler.请问如何解决这个问题,难道说如果要加事件的话只能用原有的html标签吗?
<html:text property="nrmRef3" size="50" maxlength="255" readonly="true" onFocus="check();"/>生成页面时报错:Attribute onFocus invalid for tag text according to TLD at org.apache.jasper.compiler.请问如何解决这个问题,难道说如果要加事件的话只能用原有的html标签吗?
nrmRef3.onfocus= new function(){...}
<attribute><name>onfocus</name><required>false</required><rtexprvalue>true</rtexprvalue></attribute>