471,859 Members | 1,872 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,859 software developers and data experts.

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.


Thanks,
Apr 4 '07 #1
1 1513
acoder
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.

Similar topics

4 posts views Thread by JohnSouth104 | last post: by
3 posts views Thread by Marc Castrechini | last post: by
reply views Thread by YellowAndGreen | last post: by
aboka
reply views Thread by aboka | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.