Malte: Input-Felder werden von FF nicht übergeben

Beitrag lesen

Hier noch der Quellcode, habe ich ganz vergessen:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<title></title>
<link rel="stylesheet" href="menu.css"></LINK>
<script language="JavaScript" type="text/javascript">
<!--

var SessionCount = 0;
 var DayCount = 0;
 var cur_day;
 var cur_sess;

function addDay( table )
{

DayCount++;
    var cur_day = 'exp_tag' + DayCount;
 var row = table.insertRow( DayCount );
    var cell = row.insertCell( 0 );
        cell = row.insertCell( 1 );
    var input = document.createElement( "Input" );
    input.type = 'text';
    input.name = cur_day;
 input.id = cur_day;
    input.size = '12';
 input.maxlength = '10';
    var date = new Date();
    var tag = date.getDate();
    var monat = date.getMonth();
 monat++;
    var jahr = date.getFullYear();
 if ( tag < 10 ) { tag = '0' + tag; };
 if ( monat < 10 ) { monat = '0' + monat; };
    var gesamt = tag + '.' + monat + '.' + jahr;
 input.value = gesamt;
    cell.appendChild( input );
}

function addSession( table )
{

SessionCount++;
    var cur_sess = 'exp_session' + SessionCount;
 var row = table.insertRow( SessionCount );
    var cell = row.insertCell( 0 );
        cell = row.insertCell( 1 );
    var von = document.createTextNode("Von: ");
    cell.appendChild( von );
    var input = document.createElement("Input");
    input.type = 'text';
    input.id = cur_sess + 's';
    input.name = cur_sess + 's';
    input.size = '7';
 input.maxlength = '5';
 input.value = '00:00';
    cell.appendChild( input );
    var space = document.createTextNode(" ");
    cell.appendChild( space );
    var bis = document.createTextNode(" Bis: ");
    cell.appendChild( bis );
    var input = document.createElement( "INPUT" );
    input.type = 'text';
    input.id = cur_sess + 'e';
    input.name = cur_sess + 'e';
    input.size = '7';
 input.maxlength = '5';
 input.value = '00:00';
    cell.appendChild( input );
}

//-->
</script>

</head>
<body>
<table width=100% border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td>

<?
if ($_POST[start] < 1)
  {
?>

<table border="0" cellpadding="0" cellspacing="0" style="margin-right: 150px; ">
<form action="<?=$PHP_SELF?>" method="post" enctype="multipart/form-data" name="content">
<table border="0" cellspacing="10" cellpadding="0">
  <tr>
    <td>
      <table border="0" cellspacing="0" cellpadding="0">
        <tr>
          <td width=210px valign="top">Tage</td>
       <td width=138px valign="top"><input type="button" value="Tag Hinzuf&uuml;gen" onclick="addDay( this.parentNode.parentNode.parentNode );"></td>
          <td width=130px valign="top"></td>
        </tr>
      </table>
    </td>
  </tr>
  <tr>
    <td>
      <table border="0" cellspacing="0" cellpadding="0">
        <tr>
          <td width=210px valign="top">Sessions</td>
       <td width=268px valign="top"><input type="button" value="Session Hinzuf&uuml;gen" onclick="addSession( this.parentNode.parentNode.parentNode )"></td>
        </tr>
      </table>
    </td>
  </tr>
  <tr>
    <td>
        <input name="start" type="hidden" value="1">
     <input name="Submit" type="Submit" value="Weiter">
 </td>
    <td></td>
    <td></td>
  </tr>
</table>
</form>
<?
  }
else
  {
?>
<table border="0" cellpadding="0" cellspacing="0" style="margin-right: 150px; "><tr><td>
<?
print_r ($_POST);
 ?>
</td></tr></table>
<?
  }
?>
    </td>
  </tr>
</table>
</body>
</html>