could someone help me out with this??

i am creating a dropdown(dd2) dynamically inside a <div> , on the selected index event of another dropdown(dd1). somehow i am not able to handle or get the selectedindexch ange event of dd2. i get the values inside dd2, but does not respond to any event. i am using

the code is as below.

[code=asp]
Function getdatafromdb(B yVal s As String) As String
...