[jQuery] Re: Appending text works; appending element doesn't

2008-11-30 Thread ricardobeat

Oh, I meant for public websites, where neither of those would be
available to IE users. I wish I could code for FF only :(

Coming back to topic, does anyone has information on the differences
in DOM methods for 'application/xml' pages, or any plans from the
jQuery team to make it stable in this environment?

- ricardo

On Nov 30, 4:23 am, Rodent of Unusual Size [EMAIL PROTECTED] wrote:
 On Nov 29, 1:26 pm, ricardobeat [EMAIL PROTECTED] wrote:

  Ha, there it is. Yes, I never use the 'application/xhtml+xml' mime,
  because of this and other incompatibilities. Is there anything you can
  do with it that you can't with text/html?

 Sure.  Embedded SVG, math, et cetera.. and you're assured that the
 document is valid XML when it comes to parsing.  (At least in proper
 browsers.. ;-)


[jQuery] Re: Appending text works; appending element doesn't

2008-11-29 Thread ricardobeat

Ha, there it is. Yes, I never use the 'application/xhtml+xml' mime,
because of this and other incompatibilities. Is there anything you can
do with it that you can't with text/html?

- ricardo

On Nov 29, 2:37 am, Rodent of Unusual Size [EMAIL PROTECTED] wrote:
 On Nov 25, 11:24 am, ricardobeat [EMAIL PROTECTED] wrote:

  Your code, exactly as it is, works perfectly for me. I didn't include
  the tablesorter plugin in my test.

 Removing the tablesorter artifact (left over when I trimmed to a
 minimum test case) had no effect.

 Changing the document's IMT from 'application/xhtml+xml;charset=UTF-8'
 to 'text/html' allowed it to work.  Changing the content type of my
 documents isn't an option.

 Can you verify that yours works with the XHTML content type?  Or not?

 If not, this sounds like a bug, and I suspect it's either in jQuery
 itself or in how jeditable is calling jQuery.  (I'm probably wrong,
 but that's how it feels.)  If it *is* a bug (and not a 'not yet
 supported feature') where should I log it?

 Thanks!


[jQuery] Re: Appending text works; appending element doesn't

2008-11-29 Thread Rodent of Unusual Size

On Nov 29, 1:26 pm, ricardobeat [EMAIL PROTECTED] wrote:
 Ha, there it is. Yes, I never use the 'application/xhtml+xml' mime,
 because of this and other incompatibilities. Is there anything you can
 do with it that you can't with text/html?

Sure.  Embedded SVG, math, et cetera.. and you're assured that the
document is valid XML when it comes to parsing.  (At least in proper
browsers.. ;-)


[jQuery] Re: Appending text works; appending element doesn't

2008-11-28 Thread Rodent of Unusual Size

On Nov 25, 11:24 am, ricardobeat [EMAIL PROTECTED] wrote:
 Your code, exactly as it is, works perfectly for me. I didn't include
 the tablesorter plugin in my test.

Removing the tablesorter artifact (left over when I trimmed to a
minimum test case) had no effect.

Changing the document's IMT from 'application/xhtml+xml;charset=UTF-8'
to 'text/html' allowed it to work.  Changing the content type of my
documents isn't an option.

Can you verify that yours works with the XHTML content type?  Or not?

If not, this sounds like a bug, and I suspect it's either in jQuery
itself or in how jeditable is calling jQuery.  (I'm probably wrong,
but that's how it feels.)  If it *is* a bug (and not a 'not yet
supported feature') where should I log it?

Thanks!


[jQuery] Re: Appending text works; appending element doesn't

2008-11-28 Thread brian
I can tell you that my experience also with an XHTML+XML MIME and JQuery was
full of pain.
Luckily, I had the option to change the Content-Type, as it was only there
for a legacy app. So,
I never bothered to investigate further whether or not it could work with
JQuery.

On Fri, Nov 28, 2008 at 11:37 PM, Rodent of Unusual Size [EMAIL PROTECTED]
 wrote:


 On Nov 25, 11:24 am, ricardobeat [EMAIL PROTECTED] wrote:
  Your code, exactly as it is, works perfectly for me. I didn't include
  the tablesorter plugin in my test.

 Removing the tablesorter artifact (left over when I trimmed to a
 minimum test case) had no effect.

 Changing the document's IMT from 'application/xhtml+xml;charset=UTF-8'
 to 'text/html' allowed it to work.  Changing the content type of my
 documents isn't an option.

 Can you verify that yours works with the XHTML content type?  Or not?

 If not, this sounds like a bug, and I suspect it's either in jQuery
 itself or in how jeditable is calling jQuery.  (I'm probably wrong,
 but that's how it feels.)  If it *is* a bug (and not a 'not yet
 supported feature') where should I log it?

 Thanks!


[jQuery] Re: Appending text works; appending element doesn't

2008-11-25 Thread ricardobeat

Your code, exactly as it is, works perfectly for me. I didn't include
the tablesorter plugin in my test.

results:

=quack quack= PlaintextSPANElem/SPAN (IE7)
=quack quack
= PlaintextspanElem/span (FF3)

- ricardo

On Nov 25, 1:30 am, Rodent of Unusual Size [EMAIL PROTECTED] wrote:
 I still can't find anything wrong, and someone on the #jquery channel
 confirmed it.

 So does _anyone_ have any idea what's going on here?

 Thanks..


[jQuery] Re: Appending text works; appending element doesn't

2008-11-24 Thread Rodent of Unusual Size

I still can't find anything wrong, and someone on the #jquery channel
confirmed it.

So does _anyone_ have any idea what's going on here?

Thanks..


[jQuery] Re: Appending text works; appending element doesn't

2008-11-20 Thread Rodent of Unusual Size

I can't see anything I'm doing wrong here, but it still won't work.
I've tried this:

code
var span = $('spanElem/span');
span.appendTo(this);
/code

but then Firebug says:

code
Node cannot be inserted at the specified point in the hierarchy code:
3
  this.appendChild( elem ); [jquery.js line 238]
/code

I'm lost here..


[jQuery] Re: Appending text works; appending element doesn't

2008-11-20 Thread Rodent of Unusual Size

Sorry about the markup; forgot this group/forum doesn't like it..