I have write a code for loading html dynamically through jQuery
$("table").eq(5).html('<table><tr><td>some data</td></tr></table><script language="JavaScript">function TCN_reload(from){}</script><table><tr><td>some data</td></tr></table>');
If I use this code then page load error has encountered.
but if I remove that Script then there is no error but I want that script too.
Please help me out!
Thank you!
Change
<script language="javascript">to<script type="text/javascript">. Check the detailed explanation belowtype = content-type :language ="JavaScript" :