RE: Invoking CFC with Javascript onclick event

2007-07-24 Thread Andrew Tyrone
> -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 > > > > > > Sorry about the late response. I am

Re: Invoking CFC with Javascript onclick event

2007-07-19 Thread Joel Watson
>i usually debug the AJAX stuff with the Firebug plugin for Firefox. >Got that loaded up? If not, you should (not just for this... but in >general, it's a must-have). > >-- >Charlie Griefer > > >"...All the world shall be your enemy, Prince with a T

Re: Invoking CFC with Javascript onclick event

2007-07-19 Thread Charlie Griefer
On 7/19/07, Joel Watson <[EMAIL PROTECTED]> wrote: > >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

Re: Invoking CFC with Javascript onclick event

2007-07-19 Thread Christopher Jordan
Joel, RobGonda's AjaxCFC is super easy to use. If you continue to have trouble with this I suggest checking it out. There is a version for jQuery as well as a version that uses DWR. It's not bloated at all, and keep in mind that even though jQuery has a bunch of bells and whistles, it far from bei

Re: Invoking CFC with Javascript onclick event

2007-07-19 Thread Joel Watson
>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.

RE: Invoking CFC with Javascript onclick event

2007-07-19 Thread Andy Matthews
Well, jQuery makes this very simple. You might look into that. www.jquery.com -Original Message- From: Joel Watson [mailto:[EMAIL PROTECTED] Sent: Thursday, July 19, 2007 8:34 AM To: CF-Talk Subject: Invoking CFC with Javascript onclick event I have a simple two field form that I would

Re: Invoking CFC with Javascript onclick event

2007-07-19 Thread Charlie Griefer
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.lalabir

Invoking CFC with Javascript onclick event

2007-07-19 Thread Joel Watson
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 gloriou