jQuery in Action, 3rd edition
The moose likes HTML, CSS and JavaScript and the fly likes Jscript is not running in IE 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 "Jscript is not running in IE" Watch "Jscript is not running in IE" New topic

Jscript is not running in IE

Rauhl Roy
Ranch Hand

Joined: Aug 01, 2006
Posts: 401

Heloo all,

My simple Java Scrpit file (first.js) is not working (showing some error message)in IE. can you pls tell what i should do?


<script type="text/javascript">
document.write("Hello World!")
Eric Pascarello

Joined: Nov 08, 2001
Posts: 15385
That is not a JavaScript file but an html page. A js file is

<script type="text/javascript" src="someFile.js"></script>

where the js would contain document.write("asdf");

Bear Bibeault
Author and ninkuma

Joined: Jan 10, 2002
Posts: 63866

rauhl roy, a point of order:

Originally posted by rauhl roy:
can you pls tell what i should do?

"pls" is not a word. Please show the respect due to those who will answer your questions by taking the few extra milli-seconds that it takes to type out "please".
[ September 15, 2006: Message edited by: Bear Bibeault ]

[Asking smart questions] [About Bear] [Books by Bear]
I agree. Here's the link: http://aspose.com/file-tools
subject: Jscript is not running in IE
It's not a secret anymore!