javascript problem

  louandel 10:14 21 Nov 06
Locked

my brain is finaly turning to treacle. i would appreciate help. i have been trying to write javascript code so that on the page as it downloads a prompt box appears and asks the users name. On clicking ok "Welcome + users name appears under Nav bar. Try as I might i cant work out why it wont even bring up the prompt box.
To take a look: click here

thanx

louandel

  Incony 15:10 22 Nov 06

well i just tried your link, and up came the page and a prompt window, asking for my name. I use IE, ive not tried it on any other browser.

  beynac 15:41 22 Nov 06

I tried it with Firefox 2 and it worked OK (I had to temporarily allow scripts in my NoScript extension).

In IE7 I got the yellow bar at the top and, when I allowed the script, got nothing ("Welcomenull").

  louandel 15:57 22 Nov 06

I worked out wot was wrong. a comma in the wrong place!

Thanks anyway

louandel

This thread is now locked and can not be replied to.

LG G6 review: Hands-on with LG’s bold, big-screen shot at perfection

1995-2015: How technology has changed the world in 20 years

How the painting-like animated sequences in A Monster Calls were created by Glassworks Barcelona

The 22 best Safari extensions | Best Safari plugins: Improve Apple's Safari web browser with these…