129
rated 0 times
[
130]
[
1]
/ answers: 1 / hits: 21165
/ 11 Years ago, wed, december 18, 2013, 12:00:00
I want to call a servlet in JavaScript, but how to call I do not know.
function func_search()
{
var srchdata = document.getElementById('searchitem').value;
if(srchdata == )
{
alert(Enter Search Criteria...);
}
else
{
//what to write here to call servlet ??
}
}
<a onclick=func_search();><img src=images/srch.png height=32px width=32px/></a>
More From » java