title: Microsoft JScript runtime error: Object required -Javascript
body: <p>There are the javascript codes inside a web application which was developed with through Microsoft Visual Basic.When to run javascript code on my local machine,it doesn't working on Windows Server 2003.I'm getting the Microsoft JScript runtime error: Object required error with below code.Also,I check out the IDs, no problem.</p>
  
  <p>Code:</p>
  
  <pre><code> function AlertHata(oObject)
   {
   var iID='';
   var dKDVOran=0.0;
   var dKDVTutar=0.0;
   var dToplamTutar=0.0;
  
   var x=document.getElementById(oObject)
   var index=oObject.indexOf('_',14);
   iID= oObject.substring(14,index);
   dToplamTutar=     parseFloat(document.getElementById('Repeater1__ctl' + iID + '_TB_MFistutar').value);
   dKDVOran=     parseFloat(document.getElementById('Repeater1__ctl' + iID + '_TB_MFkdvO').value);
  
   dKDVTutar=dToplamTutar-( (dToplamTutar) / ((dKDVOran + 100)/100));
   dKDVTutar = dKDVTutar.toFixed(2);
   dKDVTutar +="";
   document.getElementById('Repeater1__ctl' + iID + '_TB_MFisKdv').value=dKDVTutar.replace(".",",");
   } 
  </code></pre>