This code works very well:
Html
<html><body>
<div id="container"></div>
</body></html>
Jquery
$('<div id="footer"><p>جميع الحقوق محفوظه لشركة</p></div>').insertAfter('#container');
but the problem in Arabic letters its look like that:
������������������������