📜  html onkeypress - Html 代码示例

📅  最后修改于: 2022-03-11 14:53:21.452000             🧑  作者: Mango

代码示例3
function searching(){
    var keywordsStr = document.getElementById('keywords').value;
    var cmd ="http://XXX/advancedsearch_result.asp?language=ENG&+"+ encodeURI(keywordsStr) + "&x=11&y=4";
    window.location = cmd;
}