File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Activex Object Sample Code Snippet

 
Manikandan Periyasamy
Greenhorn
Posts: 9
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 15385
6
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic