Check out
http://msdn.microsoft.com/library/de...BlockTopic.asp
Page.RegisterClientScriptBlock Method
that is to get the javascript written to the page (when you do a viewsource
on the hmtl page).
You still have to write your script function.
The trick is figuring out what the official name of the text box in the form
is.
The previous post does a good job, using the getElementById method.
you can also do something like
this.frmMain.myTextBox.value;
where frmMain is the name of your form , in your <form name='frmMain'
id='frmMain'> declaration.
Aka, getElementById is probably better, but just showing you how you might
hard reference it.
<al*******@gmail.com> wrote in message
news:11**********************@g49g2000cwa.googlegr oups.com...
I want to be able to populate an asp textbox with logitude and
lattitude values whenever a user selects a point or creates a marker on
google maps. Simply, how do I change an asp's textbox value through
javascript?
Thanks,
Alan