Not an off-topic posting.....since I was shot-down in an earlier
post...this one's legit.
How do I go about calling a server-side vbscript within a client-side
a number of functions, one of which is to begin a visual countdown with an
onclick and also open an asp page containing the server-side vbscript, which
initiates a wake-on-lan call. I had no idea how to call the vbscript within
"pop-up" via window.open.
And the asp page, davidwakeup.asp is something like:
set objWOL = CreateObject("UltraWOL.ctlUltraWOL")
objWOL.BroadcastAddr = "192.168.2.255"
objWOL.MACAddr = "00-00-00-00-00-00"
Is it possible to just make this vbscript a sub function and then call the
Thanks for any advice,
David Shorthouse wrote:
> Hey folks,
> Not an off-topic posting.....since I was shot-down in an earlier
> post...this one's legit.
> How do I go about calling a server-side vbscript within a client-side
Sorry, but client-side questions belong in a client-side newsgroup.
..scripting.jscript should work for you.
In the meantime, look up the XMLHTTP object.
It's also possible by setting an IMG element's src to the asp page that you
wish to run.
Microsoft MVP -- ASP/ASP.NET
Please reply to the newsgroup. The email account listed in my From
header is my spam trap, so I don't check it very often. You will get a
quicker response by posting to the newsgroup.
Another option is to use a frameset with a "hidden" frame (width="1") and
Head of Development
"Brian Staff" <brianstaff@[NoSpam]compuserve.com> wrote in message
> client-side scripts and server-side scripts actually sit on two distinct
> machines, so they cannot "call" each other.
> You can however, make an HTTP request using client-side script and the
> Request object to send a request to the server where it will execute the
> serve-side script.
> Search on this NG or the JScript NG for an example.
|All times are GMT. The time now is 05:34 PM.|
Powered by vBulletin®. Copyright ©2000 - 2013, vBulletin Solutions, Inc.
SEO by vBSEO ©2010, Crawlability, Inc.