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:
>
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Find out how CFTicket can increase your company's customer support 
efficiency by 100%
http://www.houseoffusion.com/banners/view.cfm?bannerid=49

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:221170
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=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to