问题:怎么把用户提交的关键字传给网址中的key,price1,price2,并打该网址,
window.open这里面的网址应该怎么写?
<script language="javascript">
function search(){   
        var kword= document.getElementById("searchWord").value;
        var pc1= document.getElementById("price1").value;
        var pc2= document.getElementById("price2").value;
        window.open("http://www.xxxx.com/?key=kword&price1=pc1&price2=pc2");     //把用户提交的关键字传给网址中的key,price1,price2并打该网址
            }    
</script>