[thelist] Brain phart
Anthony Baratta
anthony at baratta.com
Fri May 26 12:08:54 CDT 2006
What exactly are you trying to do? Execute some ASP code that returns JS code? What you have here is JS code writing ASP code. I don't think that's what you want.
Outline your requirements and we can help you better.
-----Original message-----
From: "Beach Computers" Groups at beachcomp.com
Date: Fri, 26 May 2006 09:02:07 -0700
To: alex at deltatraffic.co.uk
Subject: [thelist] Brain phart
>
> And the brain locks up....
>
>
> I can not figure this out for the life of me.
> I need to call codejs.asp via the code contained in view.asp.
> But, I have all sorts of syntax issues.
> Any ideas would be appreciated!
>
>
> ///////////////codejs.asp////////////
> document.write('<%');
> document.write('Dim objXMLHTTP, xml');
> document.write('Set xml = Server.CreateObject("MSXML2.ServerXMLHTTP")');
> document.write('xml.setTimeouts 5000, 5000, 15000, 15000');
> document.write('xml.Open "GET", "http://domain.com/data.asp", False');
> document.write('xml.Send');
> document.write('Response.Write xml.responseText');
> document.write('Set xml = Nothing');
> document.write('%>');
> //////////////////////////////////////
>
>
> /////////////view.asp/////////////
> <center>
> <SCRIPT LANGUAGE="JavaScript"
> SRC="http://domain.com/codejs.asp"></SCRIPT>
> </center>
> ///////////////////////////////////
>
>
>
> Dave
>
>
>
> --
>
> * * Please support the community that supports you. * *
> http://evolt.org/help_support_evolt/
>
> For unsubscribe and other options, including the Tip Harvester
> and archives of thelist go to: http://lists.evolt.org
> Workers of the Web, evolt !
>
More information about the thelist
mailing list