I changed Serbian names into English but it was doing the same thing but i have founded some codes online and modified it a little bit and this one works it's opening google search for typed term.
Here is the code:
/////////////////
<html>
<head>
<title></title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<style type="text/css">
@import url("layout.css");
</style>
<script type="text/javascript">
function pokreniPretragu() {
var upit = encodeURIComponent
(document.getElementById
('polje').value);
window.open
('http://www.google.com/search?q=' +
upit ,'new_window_1');
}
</script>
</head>
<body>
<div id="Zaglavlje"><img src="singibleja.jpg" width="750" height="100"></div>
<div id="Meni">
<ul>
<li><a href="index.html">Почетна</a></li>
<li><a href="html/tabela.html">Табела</a></li>
<li><a href="html/formular.html">Формулар</a></li>
<li><a href="css/index.html">CSS</a></li>
<li><a href="javaScript/index.html">JavaScript</a></li>
</ul>
</div>
<div id="Sadrzaj">
<form
onsubmit="pokreniPretragu(); return
false;">
<input id="polje" type="text" />
<input type="submit" value="Претражи"
/>
</form>
</div>
</body>
</html>
//////.
Btw. good Serbian 