时间:2021-07-01 10:21:17 帮助过:14人阅读
$id = $_GET['questionid']; print_r($id);可是我这里显示undefined !
贴出你的代码!
function clickhf(){ var 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() 函数在哪调用了?