>Thanks
>http://www.energy-matters.net/default.aspx
>

I'd assume you're talking about the "book a consultant" link. I haven't used
Thickbox, but looking at the code, it looks like it's expecting a document
fragment--not a complete HTML page. 

You could check the response headers in
http://www.energy-matters.net/form.aspx and look for the header
"X-Requested-With" with a value of "XMLHttpRequest".

This would tell you the request came from an AJAX request. If you find this
header, you then just output the HTML fragment and leave out all the stuff
outside the <body /> tag.

-Dan

Reply via email to