-1

The Title summarizes my question, in essence how does one submit a struts 1.x form (html:form) using jquery. The form for struts to not have an "id" attribute making this perplexing.

Thank-you kindly

Sergio
  • 95
  • 9

1 Answers1

0

Use the styleId form tag attribute to give the form an HTML id attribute.

As also noted you can just submit the form, although you have many options for the jQuery selector, e.g., you could search up the DOM from the submit input or button or link for the first form, and so on.

Dave Newton
  • 158,873
  • 26
  • 254
  • 302