F
fripper
Suppose I have a textbox that was created in a VB .Net web application in
design mode ... the name of the textbox is txtCount and its text property is
initially set to 10. Now I go into HTML view and want to add some
JavaScript code to initiate a countdown timer that every second decrements
the value in txtCount.text. I know how to handle the timer itself but I do
not know specifically how to access the txtCount textbox so that I can
change its text property to 9 ... then 8 ... etc.
I am beginning to get a handle on VB .Net and JavaScript but I am at a loss
to see how I can reference a .Net object in JavaScript ... and while there
is a wealth of technical help on these systems I don't see any examples of
the sort of thing described in the preceding paragraph
design mode ... the name of the textbox is txtCount and its text property is
initially set to 10. Now I go into HTML view and want to add some
JavaScript code to initiate a countdown timer that every second decrements
the value in txtCount.text. I know how to handle the timer itself but I do
not know specifically how to access the txtCount textbox so that I can
change its text property to 9 ... then 8 ... etc.
I am beginning to get a handle on VB .Net and JavaScript but I am at a loss
to see how I can reference a .Net object in JavaScript ... and while there
is a wealth of technical help on these systems I don't see any examples of
the sort of thing described in the preceding paragraph