This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function is_location_valid(address, address_success_div) | |
{ | |
var geocoder = new google.maps.Geocoder(); | |
geocoder.geocode( {"address": address}, function(results, status) { | |
if (status == google.maps.GeocoderStatus.OK) | |
{ | |
address_success_div.innerHTML = "SUCCESS"; | |
} | |
else |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function callPlayer(frame_id, func, args) { | |
if (window.jQuery && frame_id instanceof jQuery) frame_id = frame_id.get(0).id; | |
var iframe = document.getElementById(frame_id); | |
if (iframe && iframe.tagName.toUpperCase() != 'IFRAME') { | |
iframe = iframe.getElementsByTagName('iframe')[0]; | |
} | |
// When the player is not ready yet, add the event to a queue | |
// Each frame_id is associated with an own queue. | |
// Each queue has three possible states: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 |
NewerOlder