wood burning stoves*
The moose likes HTML, CSS and JavaScript and the fly likes Activex Object Sample Code Snippet Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "Activex Object Sample Code Snippet" Watch "Activex Object Sample Code Snippet" New topic
Author

Activex Object Sample Code Snippet

Manikandan Periyasamy
Greenhorn

Joined: Aug 13, 2004
Posts: 9
I am using the following code Snippet in my javascript .i am using Tomcat server.

var oXMLHTTP = new ActiveXObject( "Microsoft.XMLDom" );
var sURL = "http://sys21/webframetest/validate.jsp?DateTime=" + "'" + target + "'"
oXMLHTTP.open("GET", sURL, false);
oXMLHTTP.send();

I am received the follwoing error msg:
Object doesn't support this property or method
Eric Pascarello
author
Rancher

Joined: Nov 08, 2001
Posts: 15376
    
    6
Object doesn't support this property or method

That is the sign that something is being called before it is loaded on the page. Place the code inside of a function that is called onload of the page and see if that helps.

Eric
 
Don't get me started about those stupid light bulbs.
 
subject: Activex Object Sample Code Snippet