Hi, I need to execute a function in order to set a circle on google maps api. But before that the old circle should be cleared.This works fine, but I want to send some values a and b with it to use in the second function codeSearch So I got this on my page:
<input type="submit" onclick="clearCircle('abc','abc');" />
Then this function is executed:
function clearCircle(a, { circle.setMap(null); codeSearch.call(a, ;}
It now does start the codeSearch function, but a, and b are undefined. Is there a way to do this rightly.Thanks