> -----Original Message----- > From: Joel Watson [mailto:[EMAIL PROTECTED] > Sent: Thursday, July 19, 2007 10:30 AM > To: CF-Talk > Subject: Re: Invoking CFC with Javascript onclick event > > <form name="form1"> > <input type="text" name="commenter" value="Joel"> > <input type="text" name="commentText" value="This is > not working!"> > <input type="button" name="myButton" onclick="createComment()"> > </form>
Sorry about the late response. I am not sure if you figured this out yet, but I wanted to point out that you are using getElementById() and your form fields do not have id's. Andy ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Enterprise web applications, build robust, secure scalable apps today - Try it now ColdFusion Today ColdFusion 8 beta - Build next generation apps Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:284493 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4