PHP expert |
|
Via $_GET meegeven hé!
anders:
<a href="#" onclick="javascript: redirectViaSubmit('jelink.htm')">klikkie</a>
<form name="frm" method="post">
<input type="hidden" name="test" value="je_waarde" />
</form>
<script language="javascript">
function redirectViaSubmit(target) {
document.forms.frm.action = target;
document.forms.frm.submit();
}
</script>
<a href="#" onclick="javascript: redirectViaSubmit('jelink.htm')">klikkie</a> <form name="frm" method="post"> <input type="hidden" name="test" value="je_waarde" /> </form> <script language="javascript"> function redirectViaSubmit(target) { document.forms.frm.action = target; document.forms.frm.submit(); } </script>
of via php gaat dit ook... maarja, je kan eig evengoed via $_GET de waarde meegeven. |