javascript problem

  louandel 10:14 21 Nov 2006

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



  Incony 15:10 22 Nov 2006

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 2006

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 2006

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

Thanks anyway


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

Elsewhere on IDG sites

Alienware 17 R4 2017 review

These brilliant Lego posters show just what children's imaginations are capable of

Mac power user tips and hidden tricks

Comment réinitialiser votre PC, ordinateur portable ou tablette Windows ?