Hi, Is ther any ways to enable/disable buttons in JSP, based on the value what i select in the combobox ?? i.e) If i select the value "Yes" in the combobox, corresponding buttons should be enabled and If i select the value "No" in the combobox, corresponding buttons should be disabled. I'm using Struts framework for my application.
The best way to do this is with JavaScript. By specifying the "onchange" event in your <html:select> tag, you can cause the execution of a function that will disapble or enable buttons on your form. If you don't know enough about JavaScript to do this, I'd suggest spending some time with JavaScript tutorials before attempting it.