469,320 Members | 2,121 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,320 developers. It's quick & easy.

Change the value of an asp control by javascript

Hi there,

How can I change the value of an asp control by javascript,

could you please tell me your perofessional opinion about this.

Apr 4 '07 #1
1 1472
16,027 Expert Mod 8TB
You can't really change server side code with JavaScript unless there's some server side code involved which actually makes the change.

You may be talking about a text box here in which case you just need to set the value property of the control, e.g. control.value='some val'.
Feb 5 '08 #2

Post your reply

Sign in to post your reply or Sign up for a free account.

By using this site, you agree to our Privacy Policy and Terms of Use.