[jQuery] Re: 1.1.4 Bug: IE7, TD, & append element

2007-09-07 Thread polyrhythmic
wade wrote: > Honestly, I don't think display information should be mixed in with > the data anyway. I have a separation of data and display mentality > about that sort of thing... I agree, SuperFlyDOM's templating function exists for that specific purpose. You have a blank JSON DOM-structure t

[jQuery] Re: 1.1.4 Bug: IE7, TD, & append element

2007-09-07 Thread traunic
The JSON I have to work with will look like the examples on http://oss.metaparadigm.com/jsonrpc-cvs/manual.html#class-hinting The Java devs I am working with have never done JSON work before, so they saw JSON-RPC-Java, liked it, and that is what I am going to be stuck with. I will bypass the jav

[jQuery] Re: 1.1.4 Bug: IE7, TD, & append element

2007-09-07 Thread polyrhythmic
You may also try SuperFlyDOM, in gamma awaiting a proper demo, but fully functional. It accounts for many IE-specific issues, and is very quick. This may save you much time on the translation, as SuperFlyDOM creates a DOM structure from a JSON Array/Object. The plugin is currently hosted at: htt

[jQuery] Re: 1.1.4 Bug: IE7, TD, & append element

2007-09-06 Thread traunic
DOH, yes thanks for the catch, my bad for doing a half-hearted tweak on another persons code. I definitely confused slice and splice when putting that on there! On Sep 6, 4:28 pm, "John Resig" <[EMAIL PROTECTED]> wrote: > > line - 903 > > old: var ele = > > jQuery(this.col.root.headerRows[0]).c

[jQuery] Re: 1.1.4 Bug: IE7, TD, & append element

2007-09-06 Thread Karl Swedberg
On Sep 6, 2007, at 4:20 PM, Klaus Hartl wrote: traunic wrote: BTW, just to give an example of the ease of "upgrade": changes to file jquery.tableFilter.js line - 487 old: target = jQuery(target).children('ul').eq(0); new: target = jQuery(target).children('ul').slice(0,1); To make it work

[jQuery] Re: 1.1.4 Bug: IE7, TD, & append element

2007-09-06 Thread John Resig
> line - 903 > old: var ele = > jQuery(this.col.root.headerRows[0]).children().eq(this.col.index); > new: var ele = > jQuery(this.col.root.headerRows[0]).children().slice(this.col.index, > 1); This would actually be: var ele = jQuery(this.col.root.headerRows[0]).children().slice(this.col.index, t

[jQuery] Re: 1.1.4 Bug: IE7, TD, & append element

2007-09-06 Thread Klaus Hartl
traunic wrote: BTW, just to give an example of the ease of "upgrade": changes to file jquery.tableFilter.js line - 487 old: target = jQuery(target).children('ul').eq(0); new: target = jQuery(target).children('ul').slice(0,1); To make it work both in jQuery 1.1.3 and 1.1.4+ try: target = jQue

[jQuery] Re: 1.1.4 Bug: IE7, TD, & append element

2007-09-06 Thread traunic
BTW, just to give an example of the ease of "upgrade": changes to file jquery.tableFilter.js line - 487 old: target = jQuery(target).children('ul').eq(0); new: target = jQuery(target).children('ul').slice(0,1); line - 494 old: target = jQuery(target).children('ul').eq(0); new: target = jQuery(ta

[jQuery] Re: 1.1.4 Bug: IE7, TD, & append element

2007-09-06 Thread traunic
;) yeah, got that but the plugins are not up to the nightlies, so, the IE7 issue is resolved but any code I did not write personally (i.e. tableFilter) is having eq issues lol Fortunately I am just doing some POC testing at the moment so it is not a show stopper. As long as the initial iss

[jQuery] Re: 1.1.4 Bug: IE7, TD, & append element

2007-09-06 Thread Klaus Hartl
traunic wrote: confirmed fixed in jquery-nightly.pack.js (although a previously working .eq(0) now tosses an error ;) eq() has been deprecated (but not yet removed) in jQuery 1.1.4 and as we're aproaching jQuery 1.2 it is replaced with slice(). Use slice(0, 1) instead of eq(0). http://jque

[jQuery] Re: 1.1.4 Bug: IE7, TD, & append element

2007-09-06 Thread traunic
confirmed fixed in jquery-nightly.pack.js (although a previously working .eq(0) now tosses an error ;) On Sep 6, 1:26 pm, "John Resig" <[EMAIL PROTECTED]> wrote: > That's correct - this has been fixed in jQuery SVN. I just pushed a > new nightly out containing this revised > code:http://code.jqu

[jQuery] Re: 1.1.4 Bug: IE7, TD, & append element

2007-09-06 Thread John Resig
That's correct - this has been fixed in jQuery SVN. I just pushed a new nightly out containing this revised code: http://code.jquery.com/nightlies/jquery-nightly.js --John On 9/6/07, traunic <[EMAIL PROTECTED]> wrote: > > Just want to confirm that others are having this problem. > > $("body").ap

[jQuery] Re: 1.1.4 Bug: IE7, TD, & append element

2007-09-06 Thread Glen Lipka
Why are you nesting appends like that? You might be interested in the FlyDom plugin. It does this sort of thing easier. http://jquery.com/plugins/project/FlyDOM He has examples on this page: http://dohpaz.mine.nu/jquery/jquery.flydom.html It shows specifically the creation of a table. Glen On

[jQuery] Re: 1.1.4 Bug: IE7, TD, & append element

2007-09-06 Thread traunic
Also just tried it with http://code.jquery.com/nightlies/jquery-nightly.pack.js and got the same result as 1.1.4 On Sep 6, 1:19 pm, traunic <[EMAIL PROTECTED]> wrote: > Just want to confirm that others are having this problem. > > $("body").append( > $("").append( > $("").