Like so?
if (GBrowserIsCompatible()) { var gmapsUrl = "/Google/Map"; if ($("#Place").val()) gmapsUrl += "/"+$("#Place").val(); $.getJSON(gmapsUrl, Initialise); }
Like so?
if (GBrowserIsCompatible()) { var gmapsUrl = "/Google/Map"; if ($("#Place").val()) gmapsUrl += "/"+$("#Place").val(); $.getJSON(gmapsUrl, Initialise); }