Hi Guys
I am having a
JSP with simple form.
Here these things are to noted
1. using <a..><span> to create a button using CSS with sliding-door approach. The image can be seen in the attachment.
2. submitting the form on press of Enter key in the form area - the code in the form tag
3. submitting the form after doing a client side check for valid inputs
I want to convert this form with
struts tag based form i.e. <s:form..>. However I am facing some problems in
1. converting the button HTML with <s:submit...> tags to create button
2. apply the enter key event capture and submit for there after. (onKeyDown is not a valid attribute for <s:form -tag)
3. can we still do the JavaScript validation
I am not able to figure out, as how to achieve these results. Any help in this regard will be highly appreciated. Thanks in advance guys. >