|
-
Apr 5th, 2005, 01:06 AM
#1
Thread Starter
Frenzied Member
How to use server control in JavaScript
Hello everybody,
I need to use my server controls in javascript for client-side validation etc.
I have a listbox control.
<asp:listbox id=groupsListBox runat="server" Width="256px" OnSelectedIndexChanged="javascript:SetTextBox();"></asp:listbox>
As user selects a value, I need to display this value in the TextBox just below the listbox. I wrote the code in SetTextBox() but this function does not execute.
Thanks.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|