<script type='text/javascript'>
function cool()
{
var innerHtml = "<script></script>";//simply for demostration
$("body").append(innerHtml);
}
</script>
The above will confuse browsers and will not render correctly before the cool function is even invoked. Why?