Hello with all
I have a problem with a javascript function and I can't
find the solution. When I put in my SQL table in the field
'artno' a character like "-" or a "." I get the following
error message: missing ')'
See function AddArt()
Sample: Article number like 'TL0012' OK
Article number like 'TL-11.12' essor!
Thank you in advance for all informations.
Otto
in php...
// Show the fiels on the same line
echo $clinec.$row[2]."</td>"; // Groupe
echo $clinec.$row[3]."</td>"; // No d'article
echo $clinec.$row[4]."</td>"; // désignation
echo $clinec.$row[6]."</td>"; // prix
?>
<TD><INPUT TYPE="value" NAME="pos<?= $row[3]?>quant"
VALUE="1" SIZE=3>
<INPUT NAME="pos<?= $row[3]?>number" TYPE=Hidden VALUE="<?=
$row[3]?>">
<INPUT TYPE="button" VALUE="<?= $txt_add ?>"
onclick="AddArt('<?= $row[4] ?>', '<?= $row[6] ?>',
document.itemsform.pos<?= $row[3] ?>quant.value,
document.itemsform.pos<?= $row[3]
?>number.value)\"></TD></TR>
<?php