Thursday, March 22, 2012

newbie in asp.net need help

Hi everyone,

I have a asp:listbox control. I want to have a javascript function that
detect the onselectedindexchanged and then make another textbox visible.
It just like the old fashion way in asp <select onchanged="myfunction()" >.
But with asp.net control i can't do that anymore on client-side

Please help ...Yes, you can.

myListBox.Attributes["onchanged"]="myfunction()";

Eliyahu

"hoaian" <hoaian@.yahoo.com> wrote in message
news:uA3mP8JWGHA.1084@.TK2MSFTNGP04.phx.gbl...
> Hi everyone,
> I have a asp:listbox control. I want to have a javascript function that
> detect the onselectedindexchanged and then make another textbox visible.
> It just like the old fashion way in asp <select onchanged="myfunction()"
> >. But with asp.net control i can't do that anymore on client-side
> Please help ...
>

0 comments:

Post a Comment