Help - Search - Members - Calendar
Full Version: Javascript
Forums > Resource Center > Webmasters' Corner > Webmasters' Corner Resolved Topics
SNAP_Tornado
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 happy.gif and plz state what's wrong too thx!! again! biggrin.gif
sherryvu
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
SNAP_Tornado
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!
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.