submit() via an href, which I do (succesfully) in JavaScript in many other
pages with <a href="javascript:document.MyForm.submit();" For whatever
reason, I cannot get the following page to submit -- I have been looking at
this so long I cannot see it - though I know it;s somethign simple and
looking right at me! Can anyone please give this a cursory glance and point
out what must be my glaring oversight that I dont see here? Thanks, Ike
<html>
<head>
<title>GGForm Demo</title>
<LINK rel="stylesheet" type="text/css" href="lstyle.css">
<STYLE type="text/css">
a:hover{ color:#555555; }
</STYLE>
</head>
<body link="#777777" alink="#555555" vlink="#777777">
<table align="center" cellpadding=5 style="border:1px solid #CCCCCC;">
<tr><td>
<label class="label" for="">Guerrilla Grip UPs System</label><br><br>
<br><br><br>
<form name="leads" id="leads" action="/leads.php" method="POST"
style="margin:0">
<input type="hidden" name="uniqueId" id="uniqueId" class="text">
<input type="hidden" name="upcardkey" id="upcardkey" class="text">
<label class="selectlabel" for="associatekey">Associate serving this
customer</label><br>
<select name="associatekey" id="associatekey" size="1" class="select">
<option value="6">chip</option>
<option value="4">chris55</option>
<option value="7">dave</option>
<option value="3">daw91</option>
<option value="1">jol36</option>
<option value="5">rjl10</option>
<option value="2">rvince</option>
<option value="8">tom</option>
</select><br><br>
<input type="hidden" name="date" id="date" class="text">
<input type="hidden" name="time" id="time" class="text">
<label class="textlabel" for="sensor"
onClick="forms['leads'].sensor.select();">Sensor</label><br>
<input type="text" name="sensor" ..id="sensor" size="3" MAXLENGTH="3"
class="text"><br><br>
<label class="textlabel" for="heads"
onClick="forms['leads'].heads.select();">Number of persons in this
party</label><br>
<input type="text" name="heads" ..id="heads" size="3" MAXLENGTH="3"
class="text"><br><br>
<input type="hidden" name="upskey" id="upskey" class="text">
<label class="selectlabel" for="howdidyouhear">How did you hear about our
company?</label><br>
<select name="howdidyouhear" id="howdidyouhear" size="1" class="select">
<option value="12"> hf membership list 2004</option>
<option value="3">cold call</option>
<option value="11">distributor</option>
<option value="6">home builders</option>
<option value="10">justin</option>
<option value="1">market-high point</option>
<option value="8">mortgage companies</option>
<option value="9">other</option>
<option value="5">phone up</option>
<option value="2">pre-market-high point</option>
<option value="7">real estate</option>
<option value="4">referral</option>
</select><br><br>
<div class="hbuttons">
<a href="javascript:document.forms['leads'].reset();" value="Reset Form"
class="button" >Reset Form</a>
<a href="javascript:document.forms['leads'].submit();" class="button"
Submit Form</a>
</form>
</div>
<div style="clear: left;"></div>
</td></tr></table>
</body></html>