The form doesnt send amout in FF & chrom but do in IE
the scrpit
<script language=javascript>
function updateField()
{
if (document.getElementById("sum").innerHTML >0)
{
currentAppID=document.getElementById("newAppID").value;
if (currentAppID!="")
{
document.getElementById('PayFor').innerText = 'Highlight Ad';
document.getElementById('Amount').innerText = document.getElementById("sum").innerHTML;
return true;
}
the form:
<input type="hidden" name="Amount" id="Amount" runat=server>
<input type="hidden" name="Comment" id="Comment" runat=server>
<input type="hidden" name="Order" id="Order" runat=server>
<input type="hidden" name="Currency" value="0">
<input type="hidden" name="PayFor" id="PayFor" runat=server>
<input type="hidden" name="ReplyType" value="1">
<input type="submit" value="no" class="buttonOrange" onclick="javascript: return updateField();" style="height: 35px; width: 196px;" >
</td>
</tr>
</table>


Reply With Quote
. The elements of a form have no innerText. The have value
Bookmarks