title: What is necessary to run JavaScript files from MS Server 2003?
body: <p>I have created some JavaScript files and they run well from my Mac OS X Server. Now I have put the same JavaScript files on my MS Server 2003. But they don't work.</p>
  
  <p>Do I have to install something on the server in order to get them work?</p>
  
  <p><strong>EDIT:</strong> (Sorry, I'm new and English is not my native language, so its hard for me to describe the situation well) I have downloaded <a href="http://www.php-development.ru/javascripts/ajax-chat.php" rel="nofollow noreferrer">this free Ajax Chat app</a>. After enabling PHP on my Mac, it worked. But on my MS Windows 2003 Server it doesn't work. I installed PHP and Apache on Windows. PHP and Apache work well. But everything that uses JavaScript (such as drop down menus or pop-up windows) doesn't work.</p>
  
  <p><strong>EDIT2:</strong> 
  Ok, this is what I get with Firebug:</p>
  
  <pre><code>invalid XML markup
  [Break on this error] var chat_path = &lt;?="'$chat_path'"; ?&gt;;\n
  indicator (Zeile 22)
  imageButtonAdd is not defined
  [Break on this error] &lt;script type="text/javascript"&gt; imageButtonAdd('submit_send'); &lt;/script&gt;
  indicator (Zeile 70)
  invalid XML markup
  [Break on this error] img.src = &lt;?="'{$chat_path}colors.png'";?&gt;;\n
  indicator (Zeile 121)
  imageButtonAdd is not defined
  [Break on this error] &lt;script type="text/javascript"&gt; imageButtonAdd('submit_login'); &lt;/script&gt;
  indicator (Zeile 164)
  imageButtonAdd is not defined
  [Break on this error] &lt;script type="text/javascript"&gt; imageButtonAdd('submit_glogin'); &lt;/script&gt;
  indicator (Zeile 193)
  dropdown_attach is not defined
  [Break on this error] if (document.getElementById("room_pare...om_child", "hover", "y", "default");
  indicator (Zeile 207)
  invalid XML markup
  [Break on this error] img.src = &lt;?="'{$chat_path}smileys/{$pathinfo['basename']}'";?&gt;;\n
  indicator (Zeile 227)
  invalid XML markup
  [Break on this error] img.src = &lt;?="'{$chat_path}smileys/{$pathinfo['basename']}'";?&gt;;\n
  indicator (Zeile 232)
  invalid XML markup
  [Break on this error] img.src = &lt;?="'{$chat_path}smileys/{$pathinfo['basename']}'";?&gt;;\n
  indicator (Zeile 237)
  invalid XML markup
  [Break on this error] img.src = &lt;?="'{$chat_path}smileys/{$pathinfo['basename']}'";?&gt;;\n
  indicator (Zeile 242)
  invalid XML markup
  [Break on this error] img.src = &lt;?="'{$chat_path}smileys/{$pathinfo['basename']}'";?&gt;;\n
  indicator (Zeile 247)
  invalid XML markup
  [Break on this error] img.src = &lt;?="'{$chat_path}smileys/{$pathinfo['basename']}'";?&gt;;\n
  indicator (Zeile 252)
  invalid XML markup
  [Break on this error] img.src = &lt;?="'{$chat_path}smileys/{$pathinfo['basename']}'";?&gt;;\n
  indicator (Zeile 257)
  invalid XML markup
  [Break on this error] img.src = &lt;?="'{$chat_path}smileys/{$pathinfo['basename']}'";?&gt;;\n
  indicator (Zeile 262)
  chat_api_onload is not defined
  [Break on this error] &lt;!DOCTYPE html PUBLIC "-//W3C//DTD XHT...rg/TR/xhtml1/DTD/xhtml1-strict.dtd"&gt;
  indicator (Zeile 1)
  popup_show is not defined
  [Break on this error] javascript:popup_show('smiley',%20'smi...20-122,%20%20-210,%20'chat',%20false);
  javasc...false); (Zeile 1)
  popup_show is not defined
  [Break on this error] javascript:popup_show('smiley',%20'smi...20-122,%20%20-210,%20'chat',%20false);
  javasc...false); (Zeile 1)
  popup_show is not defined
  </code></pre>
  
  <p><strong>EDIT3:</strong> This is what I get on every browser (IE, Firefox, Safari) on Windows:</p>
  
  <p><a href="https://i.stack.imgur.com/1Op9r.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/1Op9r.png" alt="Windows"></a><br>
  <sub>(source: <a href="http://img.i7m.de/images/5talo.png" rel="nofollow noreferrer">img.i7m.de</a>)</sub>  </p>
  
  <p>And this is what I get on my Mac:</p>
  
  <p><a href="https://i.stack.imgur.com/h79LA.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/h79LA.png" alt="Mac"></a><br>
  <sub>(source: <a href="http://img.i7m.de/images/ol61a.png" rel="nofollow noreferrer">img.i7m.de</a>)</sub>  </p>
  
  <p>Thanks!</p>