wood burning stoves 2.0*
The moose likes HTML, CSS and JavaScript and the fly likes how to solve Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "how to solve "ActiveX not defiend problem " error in Google Chrome and Fire fox" Watch "how to solve "ActiveX not defiend problem " error in Google Chrome and Fire fox" New topic
Author

how to solve "ActiveX not defiend problem " error in Google Chrome and Fire fox

kumar prathi
Greenhorn

Joined: Nov 14, 2011
Posts: 17
how to solve the ActiveX not defined problem while running/executing javascript



XMLHttpRequest cannot load file:////forJavaScript.txt. Cross origin requests are only supported for HTTP.

how to solve above highlighted error


Please help me...................
Eric Pascarello
author
Rancher

Joined: Nov 08, 2001
Posts: 15376
    
    6
Chrome and Firefox do not support ActiveX, only IE does.

Eric
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61095
    
  66

If you are trying to use ActiveX in order to use Ajax, you'd be far better off using one of the popular libraries such as jQuery, Prototype or Dojo.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
 
Consider Paul's rocket mass heater.
 
subject: how to solve "ActiveX not defiend problem " error in Google Chrome and Fire fox