Skip to Content
0
Former Member
Nov 10, 2005 at 03:07 PM

how to select an item from dropdownbox

27 Views

Hi all

I have two dropdownlistbox. When I select an item in the first box,according to the selection, I have to add items in the second dropdownlistbox. I want the implementation of the onClientSelect="javascript:Sample();" of the first dropdownbox "drop1" using

<script>

function Sample(){

//I want the implementation to be done here

}

</script>

in my jsp.

How do I additem to the second dropdownbox "drop2" inside the script tag?Please help me with this.

Thanks in advance

Regards

Harini S