Welcome Guest [Log In] [Register]



Add Reply
Things happening on the page...
Topic Started: Oct 5 2006, 12:54 PM (298 Views)
Im a mod

Members
<script language=javascript>
document.write("Hey it said ''Post a new topic in javacript''")
</script>
..

Heres some code!
Code:
 

<html>
<head>
<title>
Test!!
</title>
</head>
<body>
<script language=javascript>
var a=prompt("Whatever you put here should be pasted on the page","")
if (a=="") {
alert("whatever")
}
else {
document.write(a)
alert(a)
b=0
var c=confirm("Are you happy with this?")
if (c==false) {
 window.location=window.location
}
else {
 b=1
}
}
</script>
</body>
</html>

Try it out!
Offline Profile Quote Post Goto Top
 
fsd
3a4

nice little script
definetly somthign to try to keep you skill up or to help you learn
"mmmmm i love the internet. every time i go to a website i get a cookie HOW AWESOME IS THAT!" - Quote from me


"Any intelligent fool can make things bigger, more complex, and more violent. It takes a touch of genius -- and a lot of courage -- to move in the opposite direction." - Albert Einstein
"Imagination is more important than knowledge."- Albert Einstein
Offline Profile Quote Post Goto Top
 
1 user reading this topic (1 Guest and 0 Anonymous)
« Previous Topic · Javascript · Next Topic »
Add Reply


Theme designed by Sith of Outline