2016-02-05 142 views
0

我,我想这个JavaScript函数通过一个jquery脚本调用:如何使用JQuery调用Javascript函数?

document.location.href = 'http://cse.google.com/cse?cx=009002930969338329916:kta6o_isob0&q=' + escape(document.getElementById('search-box').value) 

我还使用加字符作为编码的程序,我也使用Chromebook。

+0

使用'on'取代'live',让我知道如何去 – Claudiordgz

+0

是否有'#submit'任何点击事件? – Azim

+0

不工作,也许铬不喜欢JQuery? – Kallus

回答