Ciao,
volevo capire insieme a voi come mai questa parte di programma non va bene con IE9
con opera, chrome, mozilla, IE7,IE8 va bene.
Codice PHP:
<?php
$nu_sc = 1;
echo '<table id="mytable">';
echo '<thead>';
echo '<tr>';
echo '<th colspan="5" class="head_table">Schedina Integrale</th>';
echo '</tr>';
echo '<tr>';
echo '<th colspan="5" class="head_table"><hr align="center" size="1" width="90%"></th>'; echo '</tr>';
echo '<tr>';
foreach($ars as $va){
$asc=explode('|',$va);
$c1=$asc[0];
$c2=$asc[1];
$c3=$asc[2];
$c4=$asc[3];
$c5=$asc[4];
$c6=$asc[5];
echo '<th colspan="2" class="head_tb">'.$c1.'</th>';
//echo '<th colspan="1" class="head_tb">'.$c2.'</th>';
// echo '<th colspan="1" class="head_tb">'.$c3.'</th>';
echo '<th colspan="2" class="head_tb">'.$c5.'</th>';
echo '<th colspan="1" class="head_tb">'.$c6.'</th>';
echo '</tr>';
echo '<tr>';
echo '<th colspan="4" class="head_tb">'.$c4.'</th>';
echo '<th colspan="1" class="head_tb"> <form action="" method="POST" name="frmMain" OnSubmit="return chkSubmit();"> <select class="button" name="T'.$nu_sc.'"> <option value="S">SI</option><option value="N">NO</option></select> <script language="JavaScript">function chkSubmit(){if(isNaN(document.frmMain.quo.value)) {alert("Please... inserire solo numeri. Es. 2.4");return false;}}</script>
</th>';
echo '</tr>';
$sa = $_POST['T'.$nu_sc];
$ars_t[$nu_sc] = $c1.'|'.$c2.'|'.$c3.'|'.$c4.'|'.$c5.'|'.$c6.'|'.$sa;
$nu_sc++;
}
echo '<tr>'; echo '<th colspan="5" class="head_table"><hr align="center" size="1" width="90%"></th>';
echo '</tr>';
echo '<tr>';
echo '<th colspan="5" class="head_table">Importo <input class="button" type="text" title="Importo " name ="quo" value="2" size="3">
</ br></th>';
echo '</tr>';
echo '<tr>';
echo '<th class="button" class="head_table">[url="q_1.php"]Back[/url]</th>';
echo '<th class="button" class="head_table">Stampa</th>';
echo '<th class="head_table"><input class="button" title="Test" type="submit" value="Test" name="tasto" /></th>';
echo '<th class="button" class="head_table">[url="q_1.php?action=elimina"]home[/url]</th>';
echo '<th class="button" class="head_table">Salva</th>';
echo '</tr>';
echo '</form>';
echo '</thead>';
echo '</table>';
?>
lo javascript serve per un controllo su un input numerico
non riesco a venirne fuori
qualche suggerimento??
Grazie