Tim Johnson wrote:
I have an ASP page, on the Window_OnLoad event I use
VbScript to popup an Inputbox to accept a value from the
user and put it into a string called strValue. I then
want to be able to go (in asp) <%Response.Write(strValue)% - but if I do that nothing happens.
Why bother? You've used client-side code to get the value: continue to use
client-side code to write the value to the page! You can do this by:
1. setting the innertext property of some element on the page to the value
of the variable
2. using insertadjacenttext to put the value next to an element
3. setting a textbox's value to the variable
You'll be able to get further help with this in a dhtml or client-side
scripting newsgroup.
HTH,
Bob Barrows