Re: Which one to use....
From: Juan T. Llibre [MVP] (nomailreplies_at_nowhere.com)
Date: 12/16/04
- Next message: Wysiwyg: "Re: Javascript can't delete server created cookie with no domain?"
- Previous message: bruce barker: "Re: Clients Losing Session"
- In reply to: Matt Berther: "Re: Which one to use...."
- Next in thread: Juan T. Llibre [MVP]: "Re: Which one to use...."
- Messages sorted by: [ date ] [ thread ]
Date: Thu, 16 Dec 2004 17:02:32 -0400
Hi, Matt.
Kevin meant this type of object creation:
<object runat="server" progid="msxml2.DOMDocument.5.0" id="xObj"> </object>
Which may be slightly preferrable to :
JavaScript
var xml = new ActiveXObject("Msxml2.DOMDocument.5.0");
VBScript
Dim xml
Set xml = CreateObject("Msxml2.DOMDocument.5.0")
Those types of object creation replace the legacy :
var source = Server.CreateObject("MSXML2.DOMDocument");
or
var xml = new ActiveXObject("Msxml2.DOMDocument.2.6");.
Juan T. Llibre
===========
"Matt Berther" <mberther@hotmail.com> wrote in message news:6816195632388007198500963@news.microsoft.com...
> Hello Kevin,
>
> Why would he use <OBJECT> to create an ActiveX object in javascript?
>
> Jonathan,
>
> The answer is to use MSXML2.XMLHTTP.
>
> --
> Matt Berther
> http://www.mattberther.com
>
>> You should use an <OBJECT> tag in the HTML that is sent to the client.
>>
>> "Jonathan" <Jonathan_ SmithUSA@hotmail.com> wrote in message
>> news:##rr5954EHA.2876@TK2MSFTNGP12.phx.gbl...
>>
>>> I am talking about client side script(java script) only.
>>> So, which one I should use?
>>> Thanks,
>>> Jonathan
- Next message: Wysiwyg: "Re: Javascript can't delete server created cookie with no domain?"
- Previous message: bruce barker: "Re: Clients Losing Session"
- In reply to: Matt Berther: "Re: Which one to use...."
- Next in thread: Juan T. Llibre [MVP]: "Re: Which one to use...."
- Messages sorted by: [ date ] [ thread ]