To do your basic alert (popup) type this (if doing with html)
- Code: Select all
<script type="text/javascript">
javascript.alert("Oh My God You Can Edit This Text!")
</script>
After the first " you can edit and put your own text.
To do a question popup asking for a name to later add to a php script type:
- Code: Select all
<html>
<head>
<script type="text/javascript">
function disp_prompt()
{
var name=prompt("Please enter your name","Willy Nilly");
if (name!=null && name!="")
{
document.write("Hello " + name + "! How are you today?");
}
}
</script>
</head>
<body>
I might of made an error there, just post back and tell me what i did

Anyway good luckz wit da l33t codez
P.S: 3rd Post !