a bit quiet on this thread... does anyone bother using WDDX to pass values from CF to javascript?
To me it seems a really neat (tidy, logical) way to do so without using CF to write text that turns into JS. I'm building some nasty JS validation and need to send arrays of values off to the client (arrays of structs, actually). I thought WDDX would work nicely to convert structs and queries to something JS could use. Try to find some decent examples though or some listserv posts and it's all a bit thin.... is it because no one needs to do this - or - WDDX isn't all it's cracked up to be? cheers barry.b -----Original Message----- From: Barry Beattie Sent: Friday, 7 May 2004 11:44 AM To: CFAussie Mailing List Subject: [cfaussie] passing CF query data to Javascript variables hi all I *could* use CFSAVECONTENT to dynamically write some JS functions and the data they need to work, outputting the JS values from CF code -but that looks really ugly on a page. Is there a better way to send values from CF to Javascript, perhaps using WDDX? if so, how? or should I stick to what I've got working (it ain't worth the hassle to change it)? thanx barry.b --- You are currently subscribed to cfaussie as: [EMAIL PROTECTED] To unsubscribe send a blank email to [EMAIL PROTECTED] MXDU2004 + Macromedia DevCon AsiaPac + Sydney, Australia http://www.mxdu.com/ + 24-25 February, 2004 --- You are currently subscribed to cfaussie as: [EMAIL PROTECTED] To unsubscribe send a blank email to [EMAIL PROTECTED] MXDU2004 + Macromedia DevCon AsiaPac + Sydney, Australia http://www.mxdu.com/ + 24-25 February, 2004
