Javascript, help!!! |
![]() ![]() |
Javascript, help!!! |
Aug 29 2004, 06:56 PM
Post
#1
|
|
|
Some Halo2 [F][R][E][A][K] ![]() ![]() ![]() ![]() Group: Member Posts: 134 Joined: Aug 2004 Member No: 43,354 |
someone help me plz!! this code:
<html> <head> <title> Examples... </title> <script language="Javascript";> // change the variables var name = prompt("Give Me A Name", ""); var pt_verb= prompt(Give Me A Past Tense Verb", ""); var adjective= prompt(Give" Me An Adjective", ""); document.writeln(name); document.writeln(pt_verb); document.writeln("the toilet,"); document.writeln("and the monkey was acting"); document.writeln(adjective); is giving me an error problem!!! help plz? thx |
|
|
|
Aug 29 2004, 08:21 PM
Post
#2
|
|
|
Senior Member ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Member Posts: 3,826 Joined: Jan 2004 Member No: 2,330 |
try this
CODE <!-- begin code provided by createblog.com --> <script language="JavaScript">document.title = "Examples..."</script> <script language="Javascript";> // change the variables var name = prompt("Give Me A Name", ""); var pt_verb= prompt(Give Me A Past Tense Verb", ""); var adjective= prompt(Give" Me An Adjective", ""); document.writeln(name); document.writeln(pt_verb); document.writeln("the toilet,"); document.writeln("and the monkey was acting"); document.writeln(adjective); </script> <!-- end code provided by createblog.com --> edit// nevermind only the first part works.. what's the second part supposed to do and where did you get it from? because you're missing part of the script |
|
|
|
Aug 29 2004, 08:36 PM
Post
#3
|
|
|
Some Halo2 [F][R][E][A][K] ![]() ![]() ![]() ![]() Group: Member Posts: 134 Joined: Aug 2004 Member No: 43,354 |
o i am? i got it from http://webmonkey.wired.com/webmonkey/98/03...?tw=programming but then i made it by myself
/edit i got it to work now nvm! |
|
|
|
![]() ![]() |