原来从网上下了个asp的进销存用着的 自己电脑架个iis 用平板和手机访问用不了 因为是弹窗然后返回数值的那种 我也不知道怎么表达 我没学过这个 只是懂最基础的html 一点后来想自己改 改成牛逼的html5 多平台兼容(其实就用手机和电脑。。) 弹窗的那个想改成弹div窗口 那样用css控制可以在手机上访问的吧 应该直接贴代码吧 说不明白
这个页面双击每行的话连接到下个页面 
会员.asp
这个页面收到了上个页面的双击的用户 到此在手机也没问题 然后就开始是问题了 单机产品之后跳窗口出来的
销售.asp
这个就是跳出来的窗口 然后再双击物品的话就把参数递到上面的销售.asp里的
产品.asp
就是这样
销售.asp这个是销售.asp的代码 单击选择产品那个input就是问题 
<%for x=1 to maxproduit%>
    <tr id="cailiaohan<%=x%>"<%if x<>1 then%> style="display:none;"<%end if%>>
  <td>
<input name="huohao<%=x%>" readonly onClick="JavaScript:window.open('produit2.asp?form=form1&field=huohao<%=x%>&field2=price<%=x%>&field3=hidprice<%=x%>&span1=showshulian<%=x%>&huiyuanid=<%=request("idzu")%>&huiyuanaaa=<%=request("huiyuanaaa")%>','','directorys=no,toolbar=no,status=no,menubar=no,scrollbars=yes,resizable=no,width=853,height=470,top=176,left=161');" style="width:80px" value="单击选择产品">
&nbsp;数量: 
  <input type="text" name="shulian<%=x%>" style="width:30px" onKeyUp="value=value.replace(/[^\d.]/g,'')" onbeforepaste="clipboardData.setData('text',clipboardData.getData('text').replace(/[^\d.]/g,''))" value="1" onBlur="heji();">
&nbsp;客户价: 
<input type="text" name="price<%=x%>" style="width:50px" onKeyUp="value=value.replace(/[^\d.]/g,'')" onbeforepaste="clipboardData.setData('text',clipboardData.getData('text').replace(/[^\d.]/g,''))" onBlur="heji();">

&nbsp;推荐价:
<input type="text" name="hidprice<%=x%>" style="width:50px" onKeyUp="value=value.replace(/[^\d.]/g,'')" onbeforepaste="clipboardData.setData('text',clipboardData.getData('text').replace(/[^\d.]/g,''))">

<%
if request.Cookies("shiwei_id")="1" or fla88="1" then
  sql="select * from ku order by id"
  set rs_ku=conn.execute(sql)
else
  sql="select * from ku where instr(login,',"&request.Cookies("shiwei_id")&",')>0 order by id"
  set rs_ku=conn.execute(sql)   
end if
if rs_ku.eof then
%>
<script language="javascript">
  alert("没有属于你管理的仓库,请先添加仓库!")
  window.location.href="../system/ku_add.asp"
</script>
<%
response.end
end if
%>
仓库: <select name="ku<%=x%>">
<%
do while rs_ku.eof=false
%>
      <option value="<%=rs_ku("id")%>"<%if rs_ku("moren") then%> selected="selected"<%end if%>><%=rs_ku("ku")%></option>
<%
  rs_ku.movenext
loop
%>
</select>
<%if x<>maxproduit then%><span onClick="cailiaohan<%=(x+1)%>.style.display=''" style="cursor:hand;">增添下一个产品</span><%end if%>
<%if x<>1 then%><input type="button" value="清除" onClick="huohao<%=x%>.value='单击选择产品';shulian<%=x%>.value='1';price<%=x%>.value=''" class="button"><%end if%>
<%if x=1 then%><font color="#ff0000">*</font><%end if%>
<div id="showshulian<%=x%>"></div>       </td>
</tr>
<%next%>然后这个是上面打开的网页 这里点击列表的话就返回数值到上面了
产品.asp
<tr onMouseOver="this.className='highlight'" onMouseOut="this.className=''" <%if request("form")<>"" then%>onDblClick="window.opener.document.<%=request("form")%>.<%=request("field")%>.value='<%=rs_produit("huohao")%>';<%if request("field2")<>"" then%>window.opener.document.<%=request("form")%>.<%=request("field2")%>.value='<%=rs_produit(idd2)%>';<%end if%><%if request("field3")<>"" then%>window.opener.document.<%=request("form")%>.<%=request("field3")%>.value='<%=rs_produit("price")%>';<%end if%><%if request("field4")<>"" then%>window.opener.document.<%=request("form")%>.<%=request("field4")%>.value='<%=rs_produit("price")%>';<%end if%><%if request("span1")<>"" then%>window.opener.document.all.<%=request("span1")%>.innerHTML='产品名称:<%=rs_produit("title")%>,总数量:<%=nowshulian%>,<%=left(nowtext,len(nowtext)-1)%>';<%end if%>window.close();"<%else%>onDblClick="javascript:var win=window.open('produit_show.asp?id=<%=rs_produit("id")%>','产品详细信息','width=895,height=503,top=142,left=115,toolbar=no,location=no,directories=no,status=no,menubar=no,resizable=no,scrollbars=yes'); win.focus()"<%end if%>>
<%if showpic="yes" then%><td align="center"><%if rs_produit("photo")<>"" then%><a href="../upload/<%=rs_produit("photo")%>" target="_blank"><img src="../upload/<%=rs_produit("photo")%>" border="0" width="60"></a><%else%>无图<%end if%></td><%end if%>
<td align="center" height="25"><%=rs_produit("huohao")%> </td>
    <td align="center"><%=rs_produit("title")%></td>   
<td align="center"><%=rs_produit("guige")%></td>
<td align="center">
  <%if rs_produit.eof=false then%><%=rs_produit("danwei")%><%end if%></td>
<td align="center">
  <%
  sql="select * from ku where id="&rs_produit("id_ku")
  set rs_ku=conn.execute(sql)
  sql="select * from produit where huohao='"&rs_produit("huohao")&"'"
  set rs_shulian=conn.execute(sql)
  nowshulian=0
  do while rs_shulian.eof=false
    nowshulian=nowshulian+rs_shulian("shulian")
    rs_shulian.movenext
  loop
      nowshulian7=nowshulian
  'if request("ku")<>"" then
  '  nowshulian=rs_produit("shulian")
  'end if
  %>   <b><%if nowshulian7<rs_produit("baojin") then%><font color="#ff0000"><%=nowshulian%></font><%else%>总数<%=nowshulian%><%end if%></b>:【<%=rs_ku("ku")%><%=rs_produit("shulian")%>】</td>
<td align="center"><%=rs_produit("price")%>/<%=rs_produit(idd2)%> 
</td>
  </tr>
  <%
   'end if
    rs_produit.movenext
  next
  else
  %>那个销售.asp的代码 我用网上下的artDialog来改的 能打开产品.asp了 就是双击列表关闭不了那个窗口 当然数值也传不到原来的页面
<input name="huohao<%=x%>" readonly id="huohao<%=x%>" onClick="artDialog({title:'选择产品', url:'produit2.asp?form=form1&field=huohao<%=x%>&field2=price<%=x%>&field3=hidprice<%=x%>&span1=showshulian<%=x%>&huiyuanid=<%=request("idzu")%>&huiyuanaaa=<%=request("huiyuanaaa")%>', parent:true}); return close" value="单击选择产品"> 怎么改才能让div带出来的窗口传回数据给原来的页面哪?
不用那个artDialog也行 普通层也行 只要能本页打开数据窗口然后点击刷回表单里 怎么做 不吝赐教 谢谢。
救救我吧