title: "SCRIPT5002 function expected" error in IE
body: <p>i am facing an issue and getting error like 
  "SCRIPT5002 function expected" in internet explorer 7-9.
  this is my code : </p>
  
  <pre><code> var myDiv = document.getElementById("divId"); //this line gives me "SCRIPT5002 function expected" error.
  
   myDiv.style.cssText("position:absolute;z-index:999");
  myDiv.appendChild(
          JavaScriptCode);
  </code></pre>
  
  <p>so how to solve this??</p>