Reputation: 1118
I am wanting to implement Thickbox, which I have done a number of times.
My issue is that I am doing some jQuery like:
$('#txtData').load('aerialProductListing.inc');
and when this happens, the CSS is lost.
How can I get the stylesheet recognized again? or can i do something inline to work around?
Edit: txtData is simple:
<div id='txtData'><p></p></div>
aerialproductListing.inc is simple HTML and PHP, nothing fancy and to long to post, but the Thickbox piece isL
<a href="tip.inc?height=400&width=600" class="thickbox small" title="<b>US Tips">US Tip Chart</a>
Upvotes: 1
Views: 124
Reputation: 75567
If a <style type="text/css"></style>
element is declared inside the #txtData
element, it will be gone after $('#txtData').load(...)
.
Upvotes: 1