aspose file tools
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
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Reply Bookmark "Jscript is not running in IE" Watch "Jscript is not running in IE" New topic
Author

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?

Regards,
rahul

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

Joined: Nov 08, 2001
Posts: 15357
    
    6
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");

Eric
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 56192
    
  13

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 ]

[Smart Questions] [JSP FAQ] [Books by Bear] [Bear's FrontMan] [About Bear]
 
I agree. Here's the link: http://zeroturnaround.com/jrebel - it saves me about five hours per week
 
subject: Jscript is not running in IE
 
Similar Threads
JavaScript and JApplet
Session destroy on window close
Which submit button was clicked?
clearing file input
window.open()?