you'd need the onclick to call a function that triggers tha AJAX call. I've found JSMX to be a very nice lightweight library for AJAX, and i think it'd work well for you here (you don't need all the bells and whistles of a jQuery or YUI or Prototype etc for this specific task).
http://www.lalabird.com On 7/19/07, Joel Watson <[EMAIL PROTECTED]> wrote: > I have a simple two field form that I would like to submit to a database > without doing a postback on the page. > > Is there a way to use javascript to invoke my component? > > Obviously, CF8 will make this ridiculously simple for people like me who are > idiots at javascript. However, until that glorious day, I need some help! > > Thanks! > > Joel > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Create robust enterprise, web RIAs. Upgrade & integrate Adobe Coldfusion MX7 with Flex 2 http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJP Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:284073 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

