Re: [jQuery] Get Value. Please, is kind of urgent. Thanks.
Like so? if (GBrowserIsCompatible()) { var gmapsUrl = "/Google/Map"; if ($("#Place").val()) gmapsUrl += "/"+$("#Place").val(); $.getJSON(gmapsUrl, Initialise); }
[jQuery] Get Value. Please, is kind of urgent. Thanks.
Hello, I have the following on my script: $(document).ready(function() { if (GBrowserIsCompatible()) { $.getJSON("/Google/Map", Initialise); } // Initialize Google Map } And in my HTML I have: I want to run the JS code only if GBrowserIsCompatible() is defined. If it is and if Pla