Do you have ID="registerForm" in your opening form tag?  Don't forget it 
is case sensitive, too.

-Ryan

Jenny Gavin-Wear wrote:
> 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:320642
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to