Matt,
Regarding CFAJAX can you help me with something? I'm going off an example
presented on the web site (query.htm) ad returning query results from my
cffunction this way.
Setting JS variables
var getDoc_ID = function(doclookup) { return doclookup.DOC_ID };
var getMAC = function(doclookup) { return doclookup.MAC };
var getPostBy = function(doclookup) { return doclookup.POSTBY };
var getPostDate = function(doclookup) { return doclookup.POSTDATE };
and returning those JS variables to a function
function getResults(docResults)
{
DWRUtil.removeAllRows("docBody");
DWRUtil.addRows("docBody", docResults, [ getDoc_ID, getMAC, getPostBy,
getPostDate ])
}
That function then populates the html on the page
<tbody id="docBody">
</tbody>
I'm wondering if there is a better way, is this the only way to return
results from the cffuction page (function.cfm) page to the orginal page? It
seems like a lot of work to me. Any thoughts?
Ryan
On 11/6/05, Matt Woodward <[EMAIL PROTECTED]> wrote:
>
> Yep, we're using it at my company and it's one of the things we'll be
> talking about at the meeting on Tuesday!
>
> On 11/6/05, Ryan Everhart <[EMAIL PROTECTED]> wrote:
> > Hey Everyone,
> > Is anyone using CFAJAX yet? If so, how? I just started playing with it
> on
> > Friday at work.
> > http://www.indiankey.com/cfajax/
> > Ryan
> >
> > --
> > Ryan Everhart
> > [EMAIL PROTECTED]
> > _______________________________________________
> > List mailing list
> > Reply to DFWCFUG:
> > [email protected]
> > Subscribe/Unsubscribe:
> > http://lists1.safesecureweb.com/mailman/listinfo/list
> > List Archive:
> > http://lists1.safesecureweb.com/mailman/private/list
> >
>
>
> --
> Matt Woodward
> [EMAIL PROTECTED]
> http://www.mattwoodward.com
>
> _______________________________________________
> List mailing list
> Reply to DFWCFUG:
> [email protected]
> Subscribe/Unsubscribe:
> http://lists1.safesecureweb.com/mailman/listinfo/list
> List Archive:
> http://lists1.safesecureweb.com/mailman/private/list
>
--
Ryan Everhart
[EMAIL PROTECTED]
_______________________________________________
List mailing list
Reply to DFWCFUG:
[email protected]
Subscribe/Unsubscribe:
http://lists1.safesecureweb.com/mailman/listinfo/list
List Archive:
http://lists1.safesecureweb.com/mailman/private/list