I have a HTML file that displays properly in Firefox, but Internet Explorer only shows a blank page.

http://www.cmbl.uga.edu/software/phxpa.html

What could be the reason?

:?:

Replace

<script language="JavaScript" type="text/javascript">
<!--
function checkAllOptions(){
 var file_01 = document.getElementById('file_01');
 if (file_01.value==""){
  alert('Please select a file to upload in Step 1 !');
  return false;
 }
 
 var file_02 = document.getElementById('file_02');
 if (file_02.value==""){
  alert('Please select a file to upload in Step 2 !');
  return false;
 }
 var file_03 = document.getElementById('file_03');
 if (file_03.value==""){
  alert('Please select a file to upload in Step 3 !');
  return false;
 }
 
 var file_04 = document.getElementById('file_04');
 if (file_04.value==""){
  alert('Please select a file to upload in Step 4 !');
  return false;
 }
   
 var email = document.getElementById('email');
 if (email.value==""){
  alert("You have to provide an email address !");
  return false;
 }
 
 return true;
}
</script>

with

<script language="JavaScript" type="text/javascript">
<!--
function checkAllOptions(){
 var file_01 = document.getElementById('file_01');
 if (file_01.value==""){
  alert('Please select a file to upload in Step 1 !');
  return false;
 }
 
 var file_02 = document.getElementById('file_02');
 if (file_02.value==""){
  alert('Please select a file to upload in Step 2 !');
  return false;
 }
 var file_03 = document.getElementById('file_03');
 if (file_03.value==""){
  alert('Please select a file to upload in Step 3 !');
  return false;
 }
 
 var file_04 = document.getElementById('file_04');
 if (file_04.value==""){
  alert('Please select a file to upload in Step 4 !');
  return false;
 }
   
 var email = document.getElementById('email');
 if (email.value==""){
  alert("You have to provide an email address !");
  return false;
 }
 
 return true;
}
-->
</script>

Notice how you opened the <script> tag with <!-- (which is an HTML comment) but you forgot to close it before ending the </script> tag. Therefore, IE thinks that the entire page is just one big HTML comment with nothing to display. Firefox is probably just a lot more forgiving to this type of error.

Wow, cscgal, that reply was fast. Appreciate your help.
Problem fixed.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.