Mustafa Mansoor
Mustafa Mansoor

Reputation: 177

unable to create ActiveX object using javascript

i want to rum command using Windows Command Prompt but it require ActiveX object... Mozilla FireFox4 and Google Chrome are giving error

Uncaught ReferenceError: ActiveXObject is not defined

Upvotes: 0

Views: 1581

Answers (2)

Ankur
Ankur

Reputation: 33637

ActiveXObject is only supported in IE. This is not a standard object and specific to IE and hence Windows. Other browsers runs on multiple platforms and it doesn't make sense for them to implement this non standard object.

Upvotes: 2

Darin Dimitrov
Darin Dimitrov

Reputation: 1038710

Only Internet Explorer allows for running ActiveX objects.

Upvotes: 1

Related Questions