I'm trying to add some javascript source code into a textarea dynamically but it's not letting me set a variable with the source code.
I have the following code:
The </script> acts as an actual script end and doesn't allow the variable to have that in it.Code:<script type="text/javascript">
function getEmbedCode(inKey){
showEmbedCodeDialog();
embedCode = '<script type="text/javascript></script>';
$('#embedCode').html(embedCode);
}
</script>
Any suggestions?

