B
b. hotting
Hi,
I don't see why this won't work,
it are 3 links, the last one (a get) does work, but the first 2 won't.
i would like to use a post, through hidden input types
any idea?
thanks for your help!
bjorn
<HTML>
<HEAD>
<TITLE>testing...</TITLE>
<script language="Javascript">
function fAction(MachineID5, ImageFile5)
{
theForm.MachineID.value = MachineID5;
theForm.ImageFile.value = ImageFile5;
theForm.submit());
}
</script>
</HEAD>
<BODY bgcolor="#98D0F8">
<form action="bbb.php" name="theForm" id="theForm" method="post"
TARGET="right">
<input type="hidden" id="MachineID" name="MachineID">
<input type="hidden" id="ImageFile" name="ImageFile">
<A href="javascript:fAction('1','AAA.jpg');">Link to AAA</A><br>
<A href="#" onClick="javascript:fAction(6,'image/BBB.jpg');">Link to
BBB</A><br>
<A href="bbb.php?MachineID=13&ImageFile='image.jpg'" TARGET="right">Link
test</A><br>
</form>
</BODY>
</HTML>
I don't see why this won't work,
it are 3 links, the last one (a get) does work, but the first 2 won't.
i would like to use a post, through hidden input types
any idea?
thanks for your help!
bjorn
<HTML>
<HEAD>
<TITLE>testing...</TITLE>
<script language="Javascript">
function fAction(MachineID5, ImageFile5)
{
theForm.MachineID.value = MachineID5;
theForm.ImageFile.value = ImageFile5;
theForm.submit());
}
</script>
</HEAD>
<BODY bgcolor="#98D0F8">
<form action="bbb.php" name="theForm" id="theForm" method="post"
TARGET="right">
<input type="hidden" id="MachineID" name="MachineID">
<input type="hidden" id="ImageFile" name="ImageFile">
<A href="javascript:fAction('1','AAA.jpg');">Link to AAA</A><br>
<A href="#" onClick="javascript:fAction(6,'image/BBB.jpg');">Link to
BBB</A><br>
<A href="bbb.php?MachineID=13&ImageFile='image.jpg'" TARGET="right">Link
test</A><br>
</form>
</BODY>
</HTML>