Thanks James, (and the other dudes that mentioned this)! I have never run into any problems using innerHTML, but I haven't done a wide breadth of cfajax projects yet either. I'll keep this in mind.
By the way, does anybody have a bookmark or something for a site that discusses which DOM methods aren't available when using innerHTML? > -----Original Message----- > From: James Holmes [mailto:[EMAIL PROTECTED] > Sent: Sunday, October 16, 2005 6:27 PM > To: CF-Talk > Subject: Re: CFAJAX return types docco > > Yes, I've read that only a small subset of DOM methods will be > available for the HTML inserted into innerHTML. The tradeoff is > innerHTML is the fastest method of getting that content there in all > browsers. > > http://www.quirksmode.org/dom/innerhtml.html > > On 10/15/05, Dawson, Michael <[EMAIL PROTECTED]> wrote: > > But this doesn't always correctly update the page's DOM, > right? When we > > were testing this, I think IE (mac or pc, I forget) had > some issues with > > inserting an entire branch of information into a single container > > without acutally creating the page elements using JS. > > > > I also don't remember the context in which it didn't work > for us. It > > may have been related to dynamically creating a form for later > > submission. If you are only outputting data, this will > probably work > > cross-browser. > > > > I guess one could determine this by viewing the DOM viewer > that comes > > with FF's and IE's web developer toolbars. > > > > M!ke > > > > On 10/15/05, Munson, Jacob <[EMAIL PROTECTED]> wrote: > > > Michael, > > > > > > I don't use much JS to do something with the cfajax results. I > > > preformat all the data in the CF function by stuffing > HTML into the > > > variable that gets returned. Then I just use a simple function to > > > stuff all the HTML and data into a div or something: [INFO] -- Access Manager: This transmission may contain information that is privileged, confidential and/or exempt from disclosure under applicable law. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution, or use of the information contained herein (including any reliance thereon) is STRICTLY PROHIBITED. If you received this transmission in error, please immediately contact the sender and destroy the material in its entirety, whether in electronic or hard copy format. Thank you. A2 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:221201 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

