我有以下情况 -
用户点击图像以搜索特定品牌的车辆.然后,该图像的值必须进入隐藏框,我将发布返回到另一个表单的值.我似乎无法获得返回的值...
我的代码......
<form action="searchbrand.php" method="POST" name="frmbrand">
<!--First row of logos...-->
<table class="whitelogo">
<tr>
<td align="center">
<p style="height:5px"></p>
<input type="image" name="brand" id="brand" value="Alfa Romeo" src="images/carlogos/alfa.jpg" height="55px" width="55px" title="View our Alfa Romeo Selection" alt="Alfa Romeo" onClick="javascript:document.submitForm.submit();" />
</td>
<td align="center">
<p style="height:5px"></p>
<input type="image" name="brand" id="brand" value="Aston Martin" src="images/carlogos/aston.jpg" height="55px" width="55px" title="View our Aston Martin Selection" alt="Aston Martin" onClick="javascript:document.submitForm.submit();" />
</td>
<td align="center">
<p style="height:5px"></p>
<input type="image" name="brand" id="brand" value="Audi" src="images/carlogos/audi.gif" height="55px" width="55px" title="View our Audi Selection" alt="Audi" onClick="javascript:document.submitForm.submit();" /> …Run Code Online (Sandbox Code Playgroud) php ×1