DWRUtil.removeAllRows("testBody");
DWRUtil.addRows("testBody", resultarray, [ ID , FIELD ])

I think that those methods probably create/append nodes rather than use innerHTML. I recognize those methods from CFAjax.

-- Josh

----- Original Message ----- From: "Terry B" <[EMAIL PROTECTED]>
To: "jQuery (English)" <jquery-en@googlegroups.com>
Sent: Wednesday, June 27, 2007 9:50 AM
Subject: [jQuery] Re: Load into tbody, errors IE6



i dont have any problems with mine in IE6


var ID = function(query) { return query.ID };
var FIELD = function(query) { return query.FIELD };

function NewQueryResult(result)
{

DWRUtil.removeAllRows("testBody");
DWRUtil.addRows("testBody", resultarray, [ ID , FIELD ])

}

~Terry


On Jun 27, 12:27 pm, JoshN <[EMAIL PROTECTED]> wrote:
OK, after some Googling I found out that in IE6, innerHTML within a
table is read-only.  Since the jQuery load method uses innerHTML, you
can't load a <tr> into a table.  Crap.

On Jun 26, 6:01 pm, "Josh Nathanson" <[EMAIL PROTECTED]> wrote:



> Hey all,

> I have a script that does an ajax load into a tbody jQuery object, like > so:

> $tbl = $("#" + asp + "_tbody"); // dynamically finds tbody
> $tbl.load("prodsched/dom_dpdcolorrow.html",
>      {},
>      addrow
>      ); // load html content (tr's) into tbody

> The html file consists of a table row <tr> with some junk in it.

> It works great on Firefox but gives the error "unknown runtime error" > in
> IE6.  Is this an issue with IE6 not being able to innerHTML a tbody or
> something?  If so is there a workaround?  Thanks for any help.

> -- Josh- Hide quoted text -

- Show quoted text -


Reply via email to