I have in the header:
<script type="text/javascript">
function submitForm()
{
document.getElementById("registerForm").submit()
}
</script>
and this as the trigger:
<input name="roomID" type="radio" id="radio" value="0" <cfif session.roomID
is 0>checked </cfif> onClick="submitForm()">
I am getting the error:
document.registerForm.submit is not a function
Could someone tell me what I am doing wrong, please?
tia, Jenny
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f
Archive:
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:320639
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe:
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4