I have a form (in a JSP file) with:
A textarea named textarea1.
A button type submit.
I do this:
... // My form.
String text=request.getParameter("textarea1");
if(text!=null){
... // ????
... // Code.
... // ????
}
I need to disable my button submit and enable it after (see the comments '????'). Another valid option for me (I think) is blocking and unblocking all my form (textarea and button). How can I do these (disable/enable the button and block/unblock the form)?