Hi!
I have three rollover images that i use to submit my form, all three buttons perform diff functions when the form is submitted. The problem is how do i associate different values to these image buttons. I tried to use a hidden field and set its value like this:

This is the form submit script
<script>
<!--
function go_submit(frm_name, act){
frm_name.do_what.value = act;//set the hidden value
frm_name.submit();
}
//-->
</script>

This is how i use it:
<a href="javascript: go_submit(this, 'save');" MouseOut="MM_sw ...

doesnt work, it doesnt submit the form if i try to set the value of the hidden field...can anybody suggest something...

    somebody has to know this, its cant be that difficult

      No Harman, it's probably not......... for a JavaScript forum regular. Seeings how this is a PHP forum though, and it's a Friday, it may take a bit longer to get the help you are asking for. Have you posted your question on a JavaScript forum yet? You may get quicker results.

        Do you know of a good one...let me know, thanks

          Write a Reply...