hi,
i have a question which feels like it should be very easy but my collegues have had some difficult explaining the logic to me.
The thing is,
I have a dropdown as such,
<ui:dropDown binding=..... tabIndex="5"/>
and in the jsp page, i want to set it to it's 10th element via javascript. So if the dropdown is showing element 1, when i press a button or key, it will show element 10. It doesnt have to interact with bean part. I just need to see the 10th element in the dropdown. I know the index and did something like this which felt odd and obviously didnt work.
document.forms[0]['form1:ddownid'].options.setAttribute(selected, 8)
Any suggestions are welcome,
Regards
Yigit