<a name='hf' href='?questionid=".$v['id']."'>
解决方案 »
- XML转义字符问题
- 怎么直接读取要下载的csv文件而不下载这个文件
- delphi for php 数据访问控件怎样实现增删改查?
- PHP怎么解决输入框内容含有 \ ' " 等字符的问题
- 请问同名用户登录,如何将已经在线的用户踢掉的问题?
- 急问,如何保持页码?
- 如何提取qq中根据ip判断地区的数据?或通过其他办法得到这样的数据?
- 又是session惹的祸,一个session的棘手问题
- HTTP 错误 500.0 - Internal Server Error
- 表单$_post[]的问题
- 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;
}