Orbit/public/desktop_widgets/4fa78140c88514014d7c59be/4fa78140c88514014d7c59be.js

10 lines
281 B
JavaScript
Raw Normal View History

2012-04-12 14:18:58 +00:00
var search = function(){
$("#search").submit(function(){
var val=$("#googlesearch").val();
if(val=="") return false;
val.replace(" ", "+");
//replace the zh-tw to something
window.open("https://www.google.com.tw/#hl="+o.currentLanguage+"&q="+val);
return false;
});
}