In my learning PoC, I'm trying to create a search form. I'm stuck with one particular scenario at the moment: I want to show a popup when the user clicks "Submit" without entering any search parameters. I'm using the struts tags for submit as well as form input elements. Could someone provide some insight, please?
Shankar Tanikella wrote:So what have you tried and where are you stuck?
Sorry for the delay in replying.
I looked through the Struts tag documentation for HTML tags, and I couldn't find any attribute for id. Could you perhaps give me an example?
posted 7 years ago
I am sorry Debojit...
For html tags you will specify property tag. In the browser these html tags convert to plain html. so if you write,
this will convert to
document.forms.userName.value; //based on number of forms.