传参过不去! <a name='hf' href='?questionid=".$v['id']."'> 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 他是href='#' questionid='".$v['id']."' 传参的方式不一样吧。他这么写有的确实能传过去那估计他有其他的js对这个链接进行操作的吧 ,你找找看 单凭<a name='hf' href='#' questionid='".$v['id']."'>这样是不可能的 因为href都是空的 传参的方式不一样吧。他这么写有的确实能传过去那估计他有其他的js对这个链接进行操作的吧 ,你找找看 单凭<a name='hf' href='#' questionid='".$v['id']."'>这样是不可能的 因为href都是空的他的那个js也是网上下的看着太费劲了!看看论坛上有人用过吗/? <?php echo "<a name='hf' href='#' questionid={$v['id']}>回复</a>"; ?> js的function clickhf(){ var page = "<?php echo $page;?>"; //var questiontype = document.getElementsByName('questiontype')[0].value; //var status = document.getElementsByName('status')[0].value; //var username = document.getElementsByName("username")[0].value; var questionid = this.questionid; //alert('rtextquestion.php?page='+page+'&questionid='+questionid); //alert('rquestion.php?page='+page+'&questiontype='+questiontype+'&status='+status+'&username='+username+'&questionid='+questionid); window.location.href='rtextquestion.php?page='+page+'&questionid='+questionid; } clickhf() 函数在哪调用了? 大哥大姐请进,100分,3D旅游环境模拟系统 $str.="<option value={$rs[0]} {$sel}>{$rs[1]}</a>"不明白 多次调用mysql_connect问题,在线等~~~~~~~~~ php语句操作临时表的问题,在线等 如何通过表单输入网址来访问网站? 如何获取对象数组 fsockopen通信过程中反复fputs,fgets的问题[我没招了] 没有道理呀,为什么总返回"0"? 调查:大家开发PHP的平台是什么? 一个小问题,请予解决! php file_get_contents()或curl获取淘宝搜索结果页第一个商品URL PHP不能发RTSP请求吗
echo "<a name='hf' href='#' questionid={$v['id']}>回复</a>";
?>
js的
function clickhf(){
var page = "<?php echo $page;?>";
//var questiontype = document.getElementsByName('questiontype')[0].value;
//var status = document.getElementsByName('status')[0].value;
//var username = document.getElementsByName("username")[0].value;
var questionid = this.questionid;
//alert('rtextquestion.php?page='+page+'&questionid='+questionid);
//alert('rquestion.php?page='+page+'&questiontype='+questiontype+'&status='+status+'&username='+username+'&questionid='+questionid);
window.location.href='rtextquestion.php?page='+page+'&questionid='+questionid;
}