Joe
Junior Member
If you play Mario Kart DS online and need friends to exchange codes with, come to Wi-Fi Community!
Posts: 213
inherit
45636
0
Sept 4, 2006 7:53:57 GMT -8
Joe
If you play Mario Kart DS online and need friends to exchange codes with, come to Wi-Fi Community!
213
June 2005
joe3086
|
Post by Joe on Aug 16, 2005 18:56:19 GMT -8
Whenever I try to make an alert box appear from making a folder from Notepad and opening in the browser (Internet Explorer 4.0), it never makes an alert box pop up when the page loads. This is what I have:
<html> <head> <script type="text/javascript" language="JavaScript"> alert('Hello'); </script> </head> </html>
I saved it as "test.html". any reason it's not working?
|
|
inherit
The Jedi Master of Proboards PBS Oscars: Most Unique
6777
0
Nov 19, 2012 0:15:08 GMT -8
Tommy Huynh
Coffee isn't my cup of tea.
19,374
January 2003
swg2
|
Post by Tommy Huynh on Aug 16, 2005 20:23:52 GMT -8
<html> <head> <title> js test </title> </head> <body> <script type="text/javascript" language="JavaScript"> alert('Hello'); </script> </body> </html>
|
|
inherit
22517
0
Apr 30, 2009 18:49:13 GMT -8
Bradley
Has a new webhost. :) Needs to transfer a lot of stuff. :-/
5,246
April 2004
ccworldwebmaster
|
Post by Bradley on Aug 16, 2005 21:53:22 GMT -8
Whenever I try to make an alert box appear from making a folder from Notepad and opening in the browser (Internet Explorer 4.0), it never makes an alert box pop up when the page loads. This is what I have: <html> <head> <script type="text/javascript" language="JavaScript"> alert('Hello'); </script> </head> </html> I saved it as "test.html". any reason it's not working? I have to ask. What are you doing using IE 4? The current version is 6. I recommend you upgrade. If you wanted it to be valid XHTML... <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <title>JS Test</title> </head> <body> <script type="text/javascript"> alert('Hello'); </script> </body> </html>
|
|
Joe
Junior Member
If you play Mario Kart DS online and need friends to exchange codes with, come to Wi-Fi Community!
Posts: 213
inherit
45636
0
Sept 4, 2006 7:53:57 GMT -8
Joe
If you play Mario Kart DS online and need friends to exchange codes with, come to Wi-Fi Community!
213
June 2005
joe3086
|
Post by Joe on Aug 17, 2005 5:18:01 GMT -8
How do I check which version I'm using? Because I'm not absolutely sure I'm using v4 but when I tried upgrading to 6 it said I had a newer version installed. Edit: Okay nvm, I am using version 6.
|
|
inherit
42324
0
Sept 23, 2009 5:11:35 GMT -8
Man of Peace
221
May 2005
peaceofgod
|
Post by Man of Peace on Aug 17, 2005 9:29:40 GMT -8
Worked fine for me, just the way you have it in your first post there. Do you perhaps have JS turned off in your brower? (Check your Security settings.)
|
|
inherit
RIP- Proboards Legend
39218
Conquester777 Conquester777
0
Oct 11, 2005 6:36:29 GMT -8
Conquester777
CirclesAreFun
4,008
March 2005
cq777
|
Post by Conquester777 on Aug 20, 2005 0:20:55 GMT -8
javascript is more correct if it's displayed in the headers not the body, especially for an alert like that
|
|
inherit
11498
0
Mar 13, 2007 22:48:24 GMT -8
Battousai the Manslayer
? ?m ?? ????? ??
1,471
July 2003
busterblader57
|
Post by Battousai the Manslayer on Aug 20, 2005 19:10:24 GMT -8
check your internet browser and make sure you have javascript enabled to enable go to tools, internet options, advanced, check the box that cooresponds with javascript hope that helps <html> <head> <title>JS Test</title> <script type="text/javascript"> <!-- alert('Hello'); //--> </script> </head> <body> </body> </html> copy/ paste that
|
|
Aaron
Junior Member
And what is Fonzie like?
Posts: 265
inherit
25673
0
Mar 10, 2013 19:53:10 GMT -8
Aaron
And what is Fonzie like?
265
June 2004
derfleurer
|
Post by Aaron on Aug 21, 2005 13:48:37 GMT -8
You don't have to go through that. Just copy and paste this into your address bar,
javascript:alert('Hello');
|
|
inherit
Proboards Legend
212
0
May 11, 2006 12:32:55 GMT -8
california
21,035
December 1999
california
|
Post by california on Aug 21, 2005 22:10:33 GMT -8
javascript is more correct if it's displayed in the headers not the body, especially for an alert like that The only JavaScript that can go in <head> is variable declarations and functions. Everything else needs to go in the body.
|
|