[jQuery] jQuery 1.2.X's .clean() mangles namespaced elements

2008-08-26 Thread Antonio Collins
The .clean() method tries to replace empty elements defined as with . Here's the code from .clean(): // Convert html string into DOM nodes if ( typeof elem == "string" ) { // Fix "XHTML"-style tags in all browsers elem = elem.replace(/(<(\w+)[^>]*?)\/>/g, function(all, front,

[jQuery] jQuery 1.2.X's .clean() mangles namespaced elements

2008-08-25 Thread Antonio Collins
The .clean() method tries to replace empty elements defined as with . Here's the code from .clean(): // Convert html string into DOM nodes if ( typeof elem == "string" ) { // Fix "XHTML"-style tags in all browsers elem = elem.replace(/(<(\w+)[^>]*?)\/>/g, function(all, front,

[jQuery] Re: selector help

2008-05-21 Thread Antonio Collins
Had to resort to 2 statements. Still not sure why the filter() didn't work as expected. $('TR[*/INPUT]',list).hide(); $('TR[*/[EMAIL PROTECTED]',list).show(); Antonio Collins wrote: > > My app has to present some rather lengthy list of choices. Each

[jQuery] selector help

2008-05-21 Thread Antonio Collins
My app has to present some rather lengthy list of choices. Each choice has a checkbox tied to it and multiple choices can be made. When 'editting' the choices, we want to see all available choices, but after editting is done, we only want to see what was selected. I'm stuck coming up with the

[jQuery] re[jQuery] placing TBODYs

2008-01-19 Thread Antonio Collins
I'm going to be replacing the contents of TBODY elements with an ajax call which results in TR elements. Will this: $('#myTbody').load(myUrlAndSelector) reconstruct the table body properly or will I have to manually process the row elements myself along these lines: $.get(myUrl, function(data

[jQuery] ie7 hover issue

2007-04-04 Thread Antonio Collins
NOTE: This isn't a jQuery issue per se, but I'm hoping that someone here may be able to help me. I've noticed that IE7's native hover (mouseover/out) detection changes if a negative margin is applied. With a negative margin, only the text in a div is 'hoverable'. With a non-negative margin, th