Using Javascript I need to be able to access select menus using 'getElementById(...)'. But html:select doesn't print an "id" attribute. Any suggestions how I can get an "id" attribute in a select menu (short of writing my own taglibs)?
If I end up having to use regular select menus (not html:select), is there a way to bind the value of a select menu to a bean attribute - similar to spring:bind?
If this can't be done, are there any suggestions how I can get around this?
Thanks.
If I end up having to use regular select menus (not html:select), is there a way to bind the value of a select menu to a bean attribute - similar to spring:bind?
If this can't be done, are there any suggestions how I can get around this?
Thanks.