$.ajax({ url: "sub_template5_js.php?content_id="+content_id, dataType: 'html', success: function(data){ alert(data); } }); In above code, when i give alert data i get html with js script, i need to separate the javascript and append to the external .js file Pl. Help me
Thank you