ajax将值传给PHP,返回后显示简单的
在js中的某事件处理函数中documnet.write('<iframe src="a.php?id='+CallerNumber+'" height=50 ><iframe>');// 上面的直接输html内容,其中iframe请求PHP的a.php
//a.php接收参数,同时输出结果

解决方案 »

  1.   

    window.open("xxx.php?id=" + CallerNumber);
      

  2.   

    a  href是要点击动作以后才能执行的.
      

  3.   


    我的URL里面没有 CallNumber的值  我要用CallNumber的值去查询数据库扎到客户的ID 放到url里面我问的是 documnet.write('<iframe src="a.php?id='+CallerNumber+'" height=50 ><iframe>');怎么吧CallNumber的放到PHP里面作为查询条件来使用!!!
      

  4.   

    用CallerNumber的值生成你要用的SQL