<input type=image name="xxx" src="mmc.gif"> you will see xxx.x and xxx.y in your Request.Form, x and y are the coodinates where you hit the image

解决方案 »

  1.   

    sry
    帖子发错了,应该在php里
    <input type=image name="img1" src="mmc1.gif"> 
    <input type=image name="img2" src="mmc2.gif">
    怎样判断点击的是哪个图 
      

  2.   

    if you click "img1", Request("img1.x") <> ""
    if you click "img2", Request("img2.x") <> ""
      

  3.   

    我在php里判断
    $img1和$img2都为空,很是奇怪karma(无为):img1.x中的x是什么意思
      

  4.   

     x and y are the coodinates where you hit the image 
      

  5.   

    <html>
    <title>
    </title>
    <head>
    <script language="JavaScript">
    <!--
    function startsearch2()
     { document.form.submit();
     }
    //-->
    </script>
    </head>
    <body>
    <form action="" method="post" name="form">
    <input type=image height=19 width=30
                            src="images/butt_search.gif" align=absmiddle
                            border=0 name="image" onClick="startSearch2()"></body>
    </html>
      

  6.   

    斑主帮帮忙啊,我也想知道啊,不用javascript。
      

  7.   

    怎没人回答,急啊
    再说详细点
    <form name="formcorp" method="post" action="corpsave.php?ID=<?=$ID?>">
    <input type="image" name="save" src="images/save.gif" value="save">
    <input type="image" name="del" src="images/del.gif" width="43" value="del">
    </form>我在corpsave.php中处理这个提交的form,但我不知道是按的save还是按del进行提交的。
    这两个$save,$del判断出来都是空。
    急啊!
      

  8.   

    $save_x
    $del_xx表示x坐标
    y表示y坐标