Page 1 of 1

Need help with javascript and php

Posted: Fri Jan 22, 2010 7:47 am
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:

Re: Need help with javascript and php

Posted: Fri Jan 22, 2010 7:56 am
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.

Re: Need help with javascript and php

Posted: Fri Jan 22, 2010 10:00 am
by pickle
Java doesn't create alert boxes, Javascript does. They're 2 completely different languages.