This is what I mean when I say I can not pass the parms. I can not get it to print. Please please please help!
<HTML>
<HEAD>
<TITLE>Title of your page</TITLE>
<META NAME="generator" CONTENT="ToniArts EasyHtml v.2.2">
<script LANGUAGE="javascript">
function testFunc(testData) {
document.write('<table border=0 bgcolor=#CCCCCC>');
document.write('<tr><td>');
document.write('<table border=0 cellpadding=15 width=97% bgcolor=#EEEEEE>');
document.write('<tr><td>');
document.write('<table border=0 cellpadding=0 cellspacing=0>');
document.write('<tr><td align=right>Name:</td><td><input value="William Corbett" size="40"> </td><tr>');
document.write('<tr><td align=right>My Message:</td><td><input value=></td> ');
//---------
// This is the line I can not get to work. I can not pass the parm and get it to print and I can not get it to print the same size as the line above.
//---------
document.write('<tr><td> + testData + size="40"</td></tr>');
//---------
document.write('<tr><td> </td><td><input type="submit" name="submit" value="Submit">');
document.write('</table>');
document.write('</form></td></tr>');
document.write('</table>');
document.write('</td></tr>');
document.write('</table>');
}
</script>
</HEAD>
<BODY>
<table border="1">
<script Language="JavaScript">
testFunc("this is a test 1"
;
var myFileSysObj = new ActiveXObject("Scripting.FileSystemObject"
;
var myInputTextStream = myFileSysObj.OpenTextFile("c:\\testmail",1,true);
while(!myInputTextStream.AtEndOfStream){
testFunc(myInputTextStream.ReadLine());
}
// Close the input
myInputTextStream.Close();
</script>
</table>
</BODY>
</HTML>
<HTML>
<HEAD>
<TITLE>Title of your page</TITLE>
<META NAME="generator" CONTENT="ToniArts EasyHtml v.2.2">
<script LANGUAGE="javascript">
function testFunc(testData) {
document.write('<table border=0 bgcolor=#CCCCCC>');
document.write('<tr><td>');
document.write('<table border=0 cellpadding=15 width=97% bgcolor=#EEEEEE>');
document.write('<tr><td>');
document.write('<table border=0 cellpadding=0 cellspacing=0>');
document.write('<tr><td align=right>Name:</td><td><input value="William Corbett" size="40"> </td><tr>');
document.write('<tr><td align=right>My Message:</td><td><input value=></td> ');
//---------
// This is the line I can not get to work. I can not pass the parm and get it to print and I can not get it to print the same size as the line above.
//---------
document.write('<tr><td> + testData + size="40"</td></tr>');
//---------
document.write('<tr><td> </td><td><input type="submit" name="submit" value="Submit">');
document.write('</table>');
document.write('</form></td></tr>');
document.write('</table>');
document.write('</td></tr>');
document.write('</table>');
}
</script>
</HEAD>
<BODY>
<table border="1">
<script Language="JavaScript">
testFunc("this is a test 1"
var myFileSysObj = new ActiveXObject("Scripting.FileSystemObject"
var myInputTextStream = myFileSysObj.OpenTextFile("c:\\testmail",1,true);
while(!myInputTextStream.AtEndOfStream){
testFunc(myInputTextStream.ReadLine());
}
// Close the input
myInputTextStream.Close();
</script>
</table>
</BODY>
</HTML>