Sunday, May 17, 2009

How to add SCRIPT Tag in Javascript

How to add SCRIPT Tag into Javascript or js file here is the simple example to embed Javascript into Javascript.

function addJavaScriptTag(){

return "<\script language='javascript'>alert('hi..')<\/script>";

}

No comments:

Post a Comment