07/08/14 16:30:48
(本文長過ぎのエラーが出たので2回に分けますがよろしくお願いします。)
こんにちわ
くだ質ですいませんがA.php→B.phpページ間を遷移する際に、
押下されたボタンによって振る舞いを変えたいのですが2個設置したボタンの内、
片方のボタンの名前しか取得できないのですがそんな物なのでしょうか?
B.phpのソース----------------------------------------------------------
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "URLリンク(www.w3.org)
<html xmlns="URLリンク(www.w3.org)
(略
<form id="form1" name="form1" method="post" action="A.php">
(略
<table style="width:auto">
<tr>
<td><input name="bt-mod" type="image" id="bt-mod" onmouseover="MM_swapImage('bt-mod','','../../common/images/bt-data_mod_on.gif',1)"
onmouseout="MM_swapImgRestore()" src="../../common/images/bt-data_mod.gif" alt="戻る" /></td>
<td><img src="../../common/images/spacer.gif" width="16" height="5" /></td>
<td><input name="bt-od" type="image" id="bt-od" onmouseover="MM_swapImage('bt-od','','../../common/images/bt-order_on.gif',1)"
onmouseout="MM_swapImgRestore()" src="../../common/images/bt-order.gif" alt="進む" /></td>
</tr>
</table>
(略
</form>
----------------------------------------------------------