jQuery in Action, 2nd edition*
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 Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "Activex Object Sample Code Snippet" Watch "Activex Object Sample Code Snippet" New topic

Activex Object Sample Code Snippet

Manikandan Periyasamy

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);

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

Joined: Nov 08, 2001
Posts: 15376
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.

With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
subject: Activex Object Sample Code Snippet
Similar Threads
problem in displaying location name
enlarging image with a constant speed
Form in New window
how to extract url from url and extract...
NullPointer Exception