It doesn't work... don't know why...
I've tried to put the submit() action in a <a href> tag, but it the same: nothing happens.
<form name="digi" action="myScript.php" method="post">
<a href="javascript:this.document.digi.submit();" onMouseover="m_over('11');" onMouseout="m_out('11');"><img name="SubmitButton" src="myButton.gif" width="35" height="32" border="0"></a>
<input type="hidden" name="myVal" value="val">
</form>
---myScript.php
<?php
if($myVal)
{echo $myVal;}
else
{echo "@!#$! It still doesn't work!";}
?>
everything else is running perfectly now... I just need to pass this step before I become nuts:-)
The php code is not called...
I tried putting the submit() function in a onClick event instead of the href param, but...the same hell.