Need help with javascript and php

Ye' old general discussion board. Basically, for everything that isn't covered elsewhere. Come here to shoot the breeze, shoot your mouth off, or whatever suits your fancy.
This forum is not for asking programming related questions.

Moderator: General Moderators

Post Reply
vorsk
Forum Newbie
Posts: 1
Joined: Fri Jan 22, 2010 6:10 am

Need help with javascript and php

Post by vorsk »

Hi

I'm quite new in all this programming...

some of you can help my execute a java alert box when the user uses Internet Explorer ?
:banghead:
aravona
Forum Contributor
Posts: 347
Joined: Sat Jun 13, 2009 3:59 pm
Location: England

Re: Need help with javascript and php

Post by aravona »

you want the alter to run automatically as soon as the page loads?

Code: Select all

<script = " javascript" >
alert('Message goes here')
</script>
that in the head section will load before your page finishes loading (just tested it lol) as for the code running only with IE, I'm not that good with javascript. (I did 2 weeks of it in 2 years studying and havent really coded it since)

btw. This is in the wrong section.
User avatar
pickle
Briney Mod
Posts: 6445
Joined: Mon Jan 19, 2004 6:11 pm
Location: 53.01N x 112.48W
Contact:

Re: Need help with javascript and php

Post by pickle »

Java doesn't create alert boxes, Javascript does. They're 2 completely different languages.
Real programmers don't comment their code. If it was hard to write, it should be hard to understand.
Post Reply