按钮点击弹出页面传递参数的问题(急!!!!!!!!!!!!!!1) lb()这个是什么?select 没有 option啊 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 你把要传递 的内容放在<FORM></FORM>中,即可 lb是我定义好的方法option 在lb里有相应的主要是我参数传递不过去传递参数我还是挺在行的 可是不知道怎么回师大家帮忙 谢谢 1、用JS传递2、注册一个session,用session传递 页面还没有提交到服务器上,用GET不可能取到<input type="button" name="print" value="打 印" class="pp" onclick="window.open('xinqian_list_print.php?khdj='+khdj.value+'&zone='+qyxz.value+'&qyxz='+qyxz.value+'&sshy='+sshy+'&fzly='+fzly.value,'_blank','height=650,width=590,resizable=yes,scrollbars=yes,top=20,left=20')" > <input type="button" name="print" value="打 印" class="pp" onclick="window.open('xinqian_list_print.php?khdj=<?echo $_GET['khdj'];?>&zone=<?echo $_GET['zone']?>&qyxz=<? echo $_GET['qyxz'];?>&sshy=<?echo $_GET['sshy']?>&fzly=<?echo $_GET['fzly']?>','_blank','height=650,width=590,resizable=yes,scrollbars=yes,top=20,left=20')" >这个根本是静态的(值是固定的),不会在你选择 地域等条件时发生变化,你应该写一个 js<input type="button" name="print" value="打 印" class="pp" onclick="window.open(………………应该写成:<input type="button" name="print" value="打 印" class="pp" onclick="prt()"><script language=jscript>function prt(){khdj=khdj.valueqyxz=qyxz.valuesshy=sshy.valuefzly=fzly.valueurl="xinqian_list_print.php?khdj="+khdj+"&zone="+qyxz+"&qyxz=""&sshy="+sshy+"&fzly="+fzlywindow.open(url,'_blank','height=650,width=590,resizable=yes,scrollbars=yes,top=20,left=20')"}</script> select的name传递的是option的value值. 楼主弄清楚没啊,有问题提出来,大家帮你solve! 淘宝模板制作php问题,希望高手帮忙解答下。 又是80端口被占用 PHP 关于文件下载的问题 一道面试题求解 MVC PHP开发框架 PHP如何复制文件夹下的某些目录 mysql 如何累加? [散分!] [原创] PHP 文件代码着色类 大中型网站首页更新问题 十万火急:我要怎样取当前系统的日期。。再把他转化成短格式。如:2002-3-21这种形式呀 /??? 一个奇怪的问题 mail()发送成功,却看不到信件
2、注册一个session,用session传递
<input type="button" name="print" value="打 印" class="pp" onclick="window.open('xinqian_list_print.php?khdj='+khdj.value+'&zone='+qyxz.value+'&qyxz='+qyxz.value+'&sshy='+sshy+'&fzly='+fzly.value,'_blank','height=650,width=590,resizable=yes,scrollbars=yes,top=20,left=20')" >
这个根本是静态的(值是固定的),不会在你选择 地域等条件时发生变化,你应该写一个 js<input type="button" name="print" value="打 印" class="pp" onclick="window.open(………………应该写成:
<input type="button" name="print" value="打 印" class="pp" onclick="prt()">
<script language=jscript>
function prt(){
khdj=khdj.value
qyxz=qyxz.value
sshy=sshy.value
fzly=fzly.value
url="xinqian_list_print.php?khdj="+khdj+"&zone="+qyxz+"&qyxz=""&sshy="+sshy+"&fzly="+fzly
window.open(url,'_blank','height=650,width=590,resizable=yes,scrollbars=yes,top=20,left=20')"
}
</script>