Kanuri, Chand wrote:
hi all, i am having a dropdown list in my jsp(in my struts webapp). on the selection of particular option in the dropdown ,a particular text field(of a property "title") has to be disabled. how can i achieve this? any ideas?
Are you looking for a Javascript solution to dynamically disable the text field when the particular option is selected, or do you want to actually render the text field as disabled if the option has a particular value currently selected?
The former isn't Struts specific, so assuming the latter, you can use Struts' logic:equals or JSTL's c:if tag to decide how to render the text field. Without more details of your JSP, form bean / data structures, etc, it's difficult to be more specific.
L. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]