Hi -
I am creating a form for my personal business site. I want people to be able to get their own shipping total for the item(s) they have purchased. I have another code from a different file I want to use. I am unclear on which lines to remove to stop the pop-up windows from asking the user to input their information. Could someone please point this out to me? Thank you!
Current code:
[HTML]<!DOCTYPE html PUBLIC
"-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dt d">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang = "en" dir="ltr">
<head>
<title>Invoic e</title>
<style type="text/css">
h1 { font-family: "Trebuchet MS", "Helvetica" , sans-serif; font-size: 1.5em }
h2 { font-family: "Trebuchet MS", "Helvetica" , sans-serif; font-size: 1.2em }
body { font-family: "Trebuchet MS", "Helvetica" , sans-serif }
legend { font-size: 1em }
td { font-size: .8em }
</style>
<meta http-equiv="content-type" content="text/html; charset=iso-8859-1" />
<script type="text/javascript">
document.write( "<h1>Discer ning Women</h1>");
document.write( "<h2>Jewelr y for All Occassions</h2>");
// STOP HIDING FROM INCOMPATIBLE BROWSERS -->
</script>
</head>
<body onload="newInvo ice();">
<form method="post" action="mailto: __MUNGED__?subj ect=Invoice" name="invoice">
<fieldset>
<legend>Invoice </legend>
<table border="0" width="100%" cellpadding="10 ">
<colgroup span="1" align="left" />
<colgroup span="3" align="right" />
<tr valign="top">
<td><label for="billto">Bi ll To</label><br />
<textarea name="billto" id="billto" cols="30" rows="5" tabindex="1"></textarea></td>
<td colspan="3"><br />
<label for="invoicenum ">Invoice # </label><input type="text" name="invoicenu m"
id="invoicenum " size="30" tabindex="2" /><br />
<label for="date">Date </label><input type="text" name="date" id="date" size="30" tabindex="3" /><br />
<label for="terms">Ter ms </label><input type="text" name="terms" id="terms" size="30" tabindex="4" /><br />
<label for="terms">Sal es Rep </label><input type="text" name="salesrep" id="salesrep" size="30" tabindex="5" /></td>
</tr>
<tr valign="top">
<td>Description <br />
<input type="text" size="40" tabindex="6" /><br />
<input type="text" size="40" tabindex="10" /><br />
<input type="text" size="40" tabindex="14" /></td>
<td align="center"> Quantity<br />
<input type="text" name="q1" id="q1" size="10" value="0" tabindex="7" onchange="calcL ine1();" /><br />
<input type="text" name="q2" id="q2" size="10" value="0" tabindex="11" onchange="calcL ine2();" /><br />
<input type="text" name="q3" id="q3" size="10" value="0" tabindex="15" onchange="calcL ine3();" /></td>
<td align="center"> Rate<br />
<input type="text" name="r1" id="r1" size="10" value="0" tabindex="8" onchange="calcL ine1();" /><br />
<input type="text" name="r2" id="r2" size="10" value="0" tabindex="12" onchange="calcL ine2();" /><br />
<input type="text" name="r3" id="r3" size="10" value="0" tabindex="16" onchange="calcL ine3();" /></td>
<td align="center"> Amount<br />
<input type="text" name="a1" id="a1" size="10" value="0" tabindex="9" /><br />
<input type="text" name="a2" id="a2" size="10" value="0" tabindex="13" /><br />
<input type="text" name="a3" id="a3" size="10" value="0" tabindex="17" /></td>
</tr>
</table>
</fieldset>
<p style="text-align: center"><button type="submit" tabindex="18">S ubmit Invoice</button>
<button type="reset" tabindex="19">R eset Invoice</button></p>
</form>
<script type="text/javascript" src="invoice_sc ripts.js">
</script>
</body>
</html>[/HTML]
I am creating a form for my personal business site. I want people to be able to get their own shipping total for the item(s) they have purchased. I have another code from a different file I want to use. I am unclear on which lines to remove to stop the pop-up windows from asking the user to input their information. Could someone please point this out to me? Thank you!
Current code:
[HTML]<!DOCTYPE html PUBLIC
"-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dt d">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang = "en" dir="ltr">
<head>
<title>Invoic e</title>
<style type="text/css">
h1 { font-family: "Trebuchet MS", "Helvetica" , sans-serif; font-size: 1.5em }
h2 { font-family: "Trebuchet MS", "Helvetica" , sans-serif; font-size: 1.2em }
body { font-family: "Trebuchet MS", "Helvetica" , sans-serif }
legend { font-size: 1em }
td { font-size: .8em }
</style>
<meta http-equiv="content-type" content="text/html; charset=iso-8859-1" />
<script type="text/javascript">
document.write( "<h1>Discer ning Women</h1>");
document.write( "<h2>Jewelr y for All Occassions</h2>");
// STOP HIDING FROM INCOMPATIBLE BROWSERS -->
</script>
</head>
<body onload="newInvo ice();">
<form method="post" action="mailto: __MUNGED__?subj ect=Invoice" name="invoice">
<fieldset>
<legend>Invoice </legend>
<table border="0" width="100%" cellpadding="10 ">
<colgroup span="1" align="left" />
<colgroup span="3" align="right" />
<tr valign="top">
<td><label for="billto">Bi ll To</label><br />
<textarea name="billto" id="billto" cols="30" rows="5" tabindex="1"></textarea></td>
<td colspan="3"><br />
<label for="invoicenum ">Invoice # </label><input type="text" name="invoicenu m"
id="invoicenum " size="30" tabindex="2" /><br />
<label for="date">Date </label><input type="text" name="date" id="date" size="30" tabindex="3" /><br />
<label for="terms">Ter ms </label><input type="text" name="terms" id="terms" size="30" tabindex="4" /><br />
<label for="terms">Sal es Rep </label><input type="text" name="salesrep" id="salesrep" size="30" tabindex="5" /></td>
</tr>
<tr valign="top">
<td>Description <br />
<input type="text" size="40" tabindex="6" /><br />
<input type="text" size="40" tabindex="10" /><br />
<input type="text" size="40" tabindex="14" /></td>
<td align="center"> Quantity<br />
<input type="text" name="q1" id="q1" size="10" value="0" tabindex="7" onchange="calcL ine1();" /><br />
<input type="text" name="q2" id="q2" size="10" value="0" tabindex="11" onchange="calcL ine2();" /><br />
<input type="text" name="q3" id="q3" size="10" value="0" tabindex="15" onchange="calcL ine3();" /></td>
<td align="center"> Rate<br />
<input type="text" name="r1" id="r1" size="10" value="0" tabindex="8" onchange="calcL ine1();" /><br />
<input type="text" name="r2" id="r2" size="10" value="0" tabindex="12" onchange="calcL ine2();" /><br />
<input type="text" name="r3" id="r3" size="10" value="0" tabindex="16" onchange="calcL ine3();" /></td>
<td align="center"> Amount<br />
<input type="text" name="a1" id="a1" size="10" value="0" tabindex="9" /><br />
<input type="text" name="a2" id="a2" size="10" value="0" tabindex="13" /><br />
<input type="text" name="a3" id="a3" size="10" value="0" tabindex="17" /></td>
</tr>
</table>
</fieldset>
<p style="text-align: center"><button type="submit" tabindex="18">S ubmit Invoice</button>
<button type="reset" tabindex="19">R eset Invoice</button></p>
</form>
<script type="text/javascript" src="invoice_sc ripts.js">
</script>
</body>
</html>[/HTML]
Comment