Even better. :o)
Rey...
Matt Stith wrote:
> Acctually, jQuery 1.0 and up can handle JSON for you. Try this out:
>
> $.getJSON("file.php",function(r) {
> alert(r.column1);
> });
>
> No need for a plugin. ;)
> On 10/20/06, *Rey Bango* <[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>>
> wrote:
>
> Hi Chris,
>
> You're not going to be able to manipulate a query like you would in
> AjaxCFC since AjaxCFC is a CF wrapper for DWR and hence, gives you
> access to CF functionality.
>
> Return your query as a JSON packet using CFJSon
> (http://jehiah.com/projects/cfjson/) and then use the JSON plugin
> (http://mg.to/2006/01/25/json-for-jquery) to work with the data.
>
> Rey...
>
> cjordan wrote:
> > I re-read this and thought I should maybe clarify my question. I
> need to
> > return a query result set to the client side using Ajax. How does
> jQuery go
> > about handling that? What's the simplest way of accomplishing
> this task.
> >
> > I know that with ajaxCFC I could return a query object from my
> ColdFusion
> > function and it gave me a javascript structure (or object...
> whatever) that
> > I could address really easily. How easy is this sort of thing in
> jQuery.
> >
> > Also, I gotta say for such an active list, I've posted three or
> four times,
> > and only one bloke's even responded and that's because he and I knew
> > eachother from a different list and were emailing off list.
> >
> > Can *anybody* help with this question?
> >
> > Thanks,
> > Chris
> >
> > cjordan wrote:
> >
> >>Hi folks,
> >>
> >>I need to know if jQuery can return a query result set from an Ajax
> >>call. What's the best way to do this?
> >>
> >>Chris
> >>
> >>_______________________________________________
> >>jQuery mailing list
> >> [email protected] <mailto:[email protected]>
> >>http://jquery.com/discuss/
> >>
> >>
> >
> >
>
> _______________________________________________
> jQuery mailing list
> [email protected] <mailto:[email protected]>
> http://jquery.com/discuss/
>
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> jQuery mailing list
> [email protected]
> http://jquery.com/discuss/
_______________________________________________
jQuery mailing list
[email protected]
http://jquery.com/discuss/