Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
struts2 フィールドでイベント (変更時、クリック時など) を使用して、フォームを送信したり、アクション サポート クラスを呼び出したりするにはどうすればよいですか? jqueryとajaxでstruts2を使用しています。
以下のように、ボタンをクリックしてフォームを送信するだけです。
<form name="myform"> <!-- Other form elements --> </form> <input type="button" value="Submit" onclick="document.forms['myform'].submit();"/>