Like so?

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

Reply via email to