Skip to main content
Steve -Cutter- Blades's user avatar
Steve -Cutter- Blades's user avatar
Steve -Cutter- Blades's user avatar
Steve -Cutter- Blades
  • Member for 13 years, 2 months
  • Last seen more than a month ago
awarded
awarded
awarded
comment
Simple function to turn array of objects to array of key value pairs
Ryan, call me Cutter. I adjusted my code example, adding back in the lines where you set the cfinvoke returns to the temp object keys. The notation used will preserve the casing of those key names when CF serializes the object into JSON. Unfortunately you can't use that notation in the returnvariable attribute, so you have to jump a few hoops.
revised
Simple function to turn array of objects to array of key value pairs
Code correction for better JSON output formatting
Loading…
comment
Mouseover effect for radio buttons
Have you looked at JQuery? You could probably right this in two or three lines of code...
comment
Should I treat direct CFC Calls differently than Page Requests?
I had to go back and check the JQuery docs again, as I was sure I had read it the other day. Sure enough, documentation of the .ajax() method options tells you this about the beforeSend option: "A pre-request callback function that can be used to modify the jqXHR (in jQuery 1.4.x, XMLHTTPRequest) object before it is sent." api.jquery.com/jQuery.ajax
awarded
revised
Loading…
Loading…
awarded
Loading…
answered
Loading…
Loading…