t;script language="JavaScript">
var x=prompt("Enter your name", "Type Your name Here")
x=prompt("Hello")
</script>
</body>
Both prompt boxes come up as expected with whatever they're supposed to have
in them.
Jonathan Gold
jonnygee@pacbell.net
-----Original Message-----
From: Tony Ryan [mailto:trnet@optushome.com.au]
Sent: Monday, July 08, 2002 7:52 PM
To: Beginning JavaScript
Subject: [beginning_javascript] Prompt() problem with Internet Explorer Howdy
For some reason, when i use the Prompt() method, it won't display the text
inside
the brackets. e.g.
var x=prompt("Enter your name", "Type Your name Here")
When I run it in Netscape for Mac, it works fine but when I run it in IE for
Mac, a
dialog box appears wi |