Hi Miguel,
There are a few different ways to do this. If you are debugging you could
just set a breakpoint in your code and check the value when the breakpoint
is hit. If that isn't an option then you could place a label on the .aspx
page and assign the value of that string to the label. Or you could create
a hidden input type:
<input type="hidden" id="hidTest" name="hidTest" runat="server">
And in your script assign the value of the string to this hidden variable.
Then at the bottom of your .aspx page, maybe just before the </body> tag you
could put this script to show you the value everytime the page loads in a
little alert box:
<script language="javascript">
alert(document.getElementById('hidTest').value);
</script>
One of those ways should work for you. Good luck! Ken.
--
Ken Dopierala Jr.
For great ASP.Net web hosting try:
http://www.webhost4life.com/default.asp?refid=Spinlight
If you sign up under me and need help, email me.
"Miguel Dias Moura" <md*REMOVE*moura@*NOSPAM*gmail.com> wrote in message
news:eY**************@TK2MSFTNGP10.phx.gbl...
Hello,
I am working in ASP.NET/VB. I have a string created by a script. How can
i display the content of that string when the page is loaded so i can
check its value?
Thanks,
Miguel