Refresh div without lost css styles

I have this code

 $('#refresh').load('includes/widjet.php');

that refresh div via ajax (chat panel) but unfortunately I lost the css styles of the elements.How i can refresh the div without lost the css styles?

Just declare those styles in a dedicated CSS file, not inline on the elements. ;-)

2 Likes

This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.