[jQuery] Re: jQuery stripping HTML tags from Ajax response

2010-01-16 Thread Beckley
This was my fault. I was also adding an INPUT along with this TR that
was not in a TD. That was invalid and resulted in the tags being
stripped. When I moved the INPUT into a TD, append() worked as
expected.

I still think it's strange behavior on jQuery's part but now I know
better.

Thanks for the responses.


[jQuery] Re: jQuery stripping HTML tags from Ajax response

2010-01-14 Thread Beckley
Really? I guess I'm used to Prototype, which ADDS a TBODY tag when you
insert a TR into a TABLE. Okay, I'll try that. Thank you.


[jQuery] Re: jQuery stripping HTML tags from Ajax response

2010-01-14 Thread Beckley
If there really is an error, it's very lame that there's no error
message. It just fails silently then. Not helpful.

Thanks.

On Jan 14, 9:00 am, Juan Borda juanignaciobo...@gmail.com wrote:
 if is not a valid place the code would be loaded but the brower won't
 display because of error


[jQuery] Re: jQuery stripping HTML tags from Ajax response

2010-01-13 Thread Dave Methvin
Is #thing a THEAD or TBODY tag? That would be the only valid place to
append a TR.