0
我在我們的應用程序中使用了一個Struts自定義日期標記。當日期發生變化並執行操作時,我需要觸發事件。我嘗試了onchange/onkeyup/onkeydown事件。Struts日期標記事件
<s:date property="data(date)" disabled="false" todayButtonDisabled="true" id="date" />
但它引發我一個錯誤如下
Failed to compile JSP /jsp/tiles/date.jsp date.jsp:428:28: This attribute is not recognized.
id="date" onkeypress="DateCheck(this)"
我們是否可以處理這個日期定製標記的onchange事件的任何事件?
日期自定義標籤? –