Ask a Question related to ASP, Design and Development.
-
Tim Johnson #1
VBScript to ASP
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)%How can I access the Vbscript variable in the ASP part of> - but if I do that nothing happens.
the page?
TIA>
Tim Johnson Guest
-
ASP/VBScript - if then or else
I'm developing a site using ASP/VBScript and I'm trying to populate a table with data contain within a recordset using the repeat region... which is... -
ASP VBSCRIPT
I have a form with ship to customer and bill to customer fields. Both of these are required fields. I want to put a check box in the form and if... -
VBScript
I'am running window server 2000 and MS frontpage on my computer. I created ASP page with the frontpage editor. The asp code are not running when I... -
VBScript and ASP
Can I copy code from a .ASP page into a .VBS file and execute it? I need to run code in an ASP page in a daily event on the server. Thanks! ... -
ASP.NET and vbscript
Browser security settings may be hampering your attempts. To get it to work, the setting you'll most likely need to adjust can be found on the... -
Evertjan. #2
Re: VBScript to ASP
Tim Johnson wrote on 15 jul 2003 in
microsoft.public.inetserver.asp.general:
you cannot> 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.
> How can I access the Vbscript variable in the ASP part of
> the page?
ASP runs on the server and is inaccessable to the clientcode, because ASP
code is finished by that time
--
Evertjan.
The Netherlands.
(Please change the x'es to dots in my emailaddress)
Evertjan. Guest
-
Bob Barrows #3
Re: VBScript to ASP
Tim Johnson wrote:
Why bother? You've used client-side code to get the value: continue to use> 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.
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
Bob Barrows Guest



Reply With Quote

