CINXE.COM

Get It Done: Collection Map Lookup/Find Collection Schedule

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html><head><title>Get It Done: Collection Map Lookup/Find Collection Schedule</title><script src="/static/111213/js/perf/stub.js" type="text/javascript"></script><script src="/faces/a4j/g/3_3_3.Finalorg.ajax4jsf.javascript.AjaxScript?rel=1732387855000" type="text/javascript"></script><script src="/jslibrary/1698336665252/sfdc/VFRemote.js" type="text/javascript"></script><script src="/jslibrary/1725859385252/ui-sfdc-javascript-impl/SfdcCore.js" type="text/javascript"></script><script src="/static/111213/js/picklist4.js" type="text/javascript"></script><script src="/jslibrary/1698336665252/sfdc/VFState.js" type="text/javascript"></script><script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.0/jquery.min.js" type="text/javascript"></script><script src="/resource/1630407834000/CosdAccessibility" type="text/javascript"></script><script src="https://www.google.com/recaptcha/enterprise.js" type="text/javascript"></script><link class="user" href="/resource/1727900087000/TSW_Web/css/main.min.css" rel="stylesheet" type="text/css" /><link class="user" href="https://fonts.googleapis.com/css?family=Open+Sans:400,600,800,700|Merriweather:400,700" rel="stylesheet" type="text/css" /><script src="/jslibrary/1698336665252/sfdc/NetworkTracking.js" type="text/javascript"></script><script>try{ NetworkTracking.init('/_ui/networks/tracking/NetworkTrackingServlet', 'network', '066t0000000sYPU'); }catch(x){}try{ NetworkTracking.logPageView();}catch(x){}</script><script>(function(UITheme) { UITheme.getUITheme = function() { return UserContext.uiTheme; }; }(window.UITheme = window.UITheme || {}));</script><script type="text/javascript"> Visualforce.remoting.Manager.add(new $VFRM.RemotingProviderImpl({"vf":{"vid":"066t0000000sYPU","xhr":false,"dev":false,"tst":false,"dbg":false,"tm":1732540580999,"ovrprm":false},"actions":{"CollectionMapLookupController":{"ms":[{"name":"getNearbySites","len":4,"ns":"","ver":51.0,"csrf":"VmpFPSxNakF5TkMweE1TMHlPRlF4TXpveE5qb3lNQzQ1T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GIyeHNaV04wYVc5dVRXRndURzl2YTNWd1EyOXVkSEp2Ykd4bGNpNW5aWFJUYVhSbGMwSjVRV1JrY21WemN3PT0=.6VbtraZLjI8Ip3N2iDUK0cl5UJlk82mkgmG0623x0ag="}],"prm":0},"TSWGenericController":{"ms":[{"name":"checkFlaggedEmails","len":1,"ns":"","ver":36.0,"csrf":"VmpFPSxNakF5TkMweE1TMHlPRlF4TXpveE5qb3lNUzR3TURCYSxRd1h3N0Q1TTBCUWVDeEt0dUgtS1pudFp1Qk5faGZsUWQ3enRaYjVMRTZZPSxaakptT1RBeA==","authorization":"eyJub25jZSI6IkVDR3QtZzJ4R01ob1V3dmJmelRMSEtCeDhFelFEM1ZFYzFheXVOMUQ3WThcdTAwM2QiLCJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiIsImtpZCI6IntcInRcIjpcIjAwRDYxMDAwMDAwWW9ad1wiLFwidlwiOlwiMDJHdDAwMDAwMDBUdzBkXCIsXCJhXCI6XCJ2ZnJlbW90aW5nc2lnbmluZ2tleVwiLFwidVwiOlwiMDA1dDAwMDAwMDBGOE1UXCJ9IiwiY3JpdCI6WyJpYXQiXSwiaWF0IjoxNzMyNTQwNTgxMDAxLCJleHAiOjB9.Q2lkVVUxZEhaVzVsY21salEyOXVkSEp2Ykd4bGNpNWphR1ZqYTBac1lXZG5aV1JGYldGcGJITT0=.ZKJNUSYM2uvUcyr6B52ZDInhOy_aFG5k8cbKJS2rD3w="},{"name":"getLocationDetail","len":2,"ns":"","ver":36.0,"csrf":"VmpFPSxNakF5TkMweE1TMHlPRlF4TXpveE5qb3lNUzR3TURGYSxMeXVRZGxFTFVCQ0dpVEloNFVIcndrMXViajNDcnJzREthNEtuSmU1cnhrPSxNV1kyWXpKbA==","authorization":"eyJub25jZSI6ImVYNlZITXdLdUlMX3JlZ3VBMjhFTjNacTdtby1DVG5VaWVtSUdWZXhYWklcdTAwM2QiLCJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiIsImtpZCI6IntcInRcIjpcIjAwRDYxMDAwMDAwWW9ad1wiLFwidlwiOlwiMDJHdDAwMDAwMDBUdzBkXCIsXCJhXCI6XCJ2ZnJlbW90aW5nc2lnbmluZ2tleVwiLFwidVwiOlwiMDA1dDAwMDAwMDBGOE1UXCJ9IiwiY3JpdCI6WyJpYXQiXSwiaWF0IjoxNzMyNTQwNTgxMDAxLCJleHAiOjB9.Q2laVVUxZEhaVzVsY21salEyOXVkSEp2Ykd4bGNpNW5aWFJNYjJOaGRHbHZia1JsZEdGcGJBPT0=.yLaNnE2PLJW_rk86nZj2elwPYibThWVbkxSXJvltJwk="},{"name":"getformattedLocationDetails","len":2,"ns":"","ver":36.0,"csrf":"VmpFPSxNakF5TkMweE1TMHlPRlF4TXpveE5qb3lNUzR3TURGYSxMSUhzbVZ3VGpYbFpfWVlHeHIzR3AwWi1EZ2VJMVNzMHZtNmdha2xvNHk4PSxOR1pqWXpJeQ==","authorization":"eyJub25jZSI6IlZ1X3JNbUYyUjRhRkM4Y21ieXprZWRvZEZXSG5vajhOaW5kc3V2WENlYzRcdTAwM2QiLCJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiIsImtpZCI6IntcInRcIjpcIjAwRDYxMDAwMDAwWW9ad1wiLFwidlwiOlwiMDJHdDAwMDAwMDBUdzBkXCIsXCJhXCI6XCJ2ZnJlbW90aW5nc2lnbmluZ2tleVwiLFwidVwiOlwiMDA1dDAwMDAwMDBGOE1UXCJ9IiwiY3JpdCI6WyJpYXQiXSwiaWF0IjoxNzMyNTQwNTgxMDAyLCJleHAiOjB9.Q2pCVVUxZEhaVzVsY21salEyOXVkSEp2Ykd4bGNpNW5aWFJtYjNKdFlYUjBaV1JNYjJOaGRHbHZia1JsZEdGcGJITT0=.oAoj21Lkt5cim_bUIuvyqscA4tdm73VFNTDbEcwCbZ8="}],"prm":0},"TSWLoginRegisterCtrl":{"ms":[{"name":"CheckIfUserExist","len":1,"ns":"","ver":36.0,"csrf":"VmpFPSxNakF5TkMweE1TMHlPRlF4TXpveE5qb3lNUzR3TURKYSxycVhwWFhrWVBYeldDX1M0ak9IN2lnSGFTYXB0UmctUkM4dVFfaE5hRFpVPSxZVFJqTmprNA==","authorization":"eyJub25jZSI6ImRPR295RzlrV05FRVByYlY5MDlBOTN6RDktdmtEdDRuUG10ZmpNV0pwcUlcdTAwM2QiLCJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiIsImtpZCI6IntcInRcIjpcIjAwRDYxMDAwMDAwWW9ad1wiLFwidlwiOlwiMDJHdDAwMDAwMDBUdzBkXCIsXCJhXCI6XCJ2ZnJlbW90aW5nc2lnbmluZ2tleVwiLFwidVwiOlwiMDA1dDAwMDAwMDBGOE1UXCJ9IiwiY3JpdCI6WyJpYXQiXSwiaWF0IjoxNzMyNTQwNTgxMDAyLCJleHAiOjB9.Q2lWVVUxZE1iMmRwYmxKbFoybHpkR1Z5UTNSeWJDNURhR1ZqYTBsbVZYTmxja1Y0YVhOMA==.l9sAefu6jQylgQonvSvzvZvXNNcjV_HYVxSqLliQGcg="}],"prm":0}},"service":"apexremote"})); </script><meta http-equiv="origin-trial" content="AhF0CFIKisg+QZcMOO1kPVkD9iTw2dNL70IIkolxErMm0SFOkAwM8DqJk/f3op6Tt2uphjYo6y6Au/x61Tjg/wIAAABZeyJvcmlnaW4iOiJodHRwczovL3NpdGUuY29tOjQ0MyIsImZlYXR1cmUiOiJUcGNkIiwiZXhwaXJ5IjoxNzM1MzQzOTk5LCJpc1N1YmRvbWFpbiI6dHJ1ZX0="/></head><body><span id="pgid:j_id0"> <html> <body> <form id="pgid:j_id0:j_id1:j_id3" name="pgid:j_id0:j_id1:j_id3" method="post" action="/CollectionMapLookup" enctype="application/x-www-form-urlencoded"> <input type="hidden" name="pgid:j_id0:j_id1:j_id3" value="pgid:j_id0:j_id1:j_id3" /> <script type="text/javascript" language="Javascript">function dpf(f) {var adp = f.adp;if (adp != null) {for (var i = 0;i < adp.length;i++) {adp[i].parentNode.removeChild(adp[i]);}}};function apf(f, pvp) {var adp = new Array();f.adp = adp;var ps = pvp.split(',');for (var i = 0,ii = 0;i < ps.length;i++,ii++) {var p = document.createElement("input");p.type = "hidden";p.name = ps[i];p.value = ps[i + 1];f.appendChild(p);adp[ii] = p;i += 1;}};function jsfcljs(f, pvp, t) {apf(f, pvp);var ft = f.target;if (t) {f.target = t;}f.submit();f.target = ft;dpf(f);};</script> <script>function redirectToURL() { SfdcApp.Visualforce.VSManager.vfPrepareForms(["pgid:j_id0:j_id1:j_id3"]); if(typeof jsfcljs == 'function'){jsfcljs(document.forms['pgid:j_id0:j_id1:j_id3'],'pgid:j_id0:j_id1:j_id3:j_id4,pgid:j_id0:j_id1:j_id3:j_id4','');}return false }</script><div id="pgid:j_id0:j_id1:j_id3:j_id42"></div> </form><span id="ajax-view-state-page-container" style="display: none"><span id="ajax-view-state" style="display: none"><input type="hidden" id="com.salesforce.visualforce.ViewState" name="com.salesforce.visualforce.ViewState" value="i:AAAAWXsidCI6IjAwRDYxMDAwMDAwWW9adyIsInYiOiIwMkd0MDAwMDAwMFR3MGQiLCJhIjoidmZlbmNyeXB0aW9ua2V5IiwidSI6IjAwNXQwMDAwMDAwRjhNVCJ9z5RzdrK8CvZj9zqe8FH4Y/VcBodo1gBpsb8I/wAAAZNjd0R4YCxMJFrPdbhCpGdn+ZUmwzl0FgoLRq2ivTsxu3soQvtItS6DYox4vZnayIDcI3xS5GbYEEDaXly8xTiOBouDC5LIzw9xZWlmchLYg5Q10RxamuenMYsZA0+ynxy3udze8ejR4HEKCfzvjrhDb6MlbbauEwtuKCjvgpq2u+uPuYiBVPoc2iUVVCtmlZvH035XTFXAOQADoyELGmRU2bYI+q3lZQ4AZ9/nPe0UZqStXhiuB/Nz4OThK1m5vCxbTNP8fD6Vd59PCpuvJZ7hTlWq83EniJdngvdhqlyiAXj/EjAv/+FCj0ACbhO52yy28K3Y4NAp+vBeyXPi/rLAd1VSd0QHnZkkHDaPT0p8E/rpd0Mdny4ODtzclVx8Ix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Al0zb3RZxSKzp08Pvmf0Kdj0XQ3TUT4naKEkBo//1g4jT2FJQ0fKfrnYxXWLX9U9oz+JDUOa38atz81OECL1auw/EhcA6uoho6eLCHGoufe3NenXG9ONJ28hWMudqsfFObMXLGaHbzD22IKUTE4cHtR7/ERYMOldlw5VPkHqZdLNtK4RmoulbMiF5BphYKWHXv2qj7VwVFxwFFxTommceCe7VYNY3tRWkZgQbSCqVG0BziKdF/KcC258nkkMJKPs/CZB5LEw==" /><input type="hidden" id="com.salesforce.visualforce.ViewStateVersion" name="com.salesforce.visualforce.ViewStateVersion" value="202411231850557421" /><input type="hidden" id="com.salesforce.visualforce.ViewStateMAC" name="com.salesforce.visualforce.ViewStateMAC" value="AGV5SnViMjVqWlNJNkltdDZWVkI1ZG5aSE5tSm1VbXgwUVROa2RHOWtOVGhmUWxCeGJVRndNemxVTlZSMmRYVktYM0JwYTNkY2RUQXdNMlFpTENKMGVYQWlPaUpLVjFRaUxDSmhiR2NpT2lKSVV6STFOaUlzSW10cFpDSTZJbnRjSW5SY0lqcGNJakF3UkRZeE1EQXdNREF3V1c5YWQxd2lMRndpZGx3aU9sd2lNREpIZERBd01EQXdNREJVZHpCa1hDSXNYQ0poWENJNlhDSjJabk5wWjI1cGJtZHJaWGxjSWl4Y0luVmNJanBjSWpBd05YUXdNREF3TURBd1JqaE5WRndpZlNJc0ltTnlhWFFpT2xzaWFXRjBJbDBzSW1saGRDSTZNVGN6TWpVME1EVTRNRGs0Tml3aVpYaHdJam93ZlE9PS4uMF9qQ1VtcnpKYVAta2FUeUdGMkRvMmlQVzh6RGlManBXMVdUMVg1RTJ0az0=" /></span></span> <script> var currentPage='CollectionMapLookup'; var type=''; //var currentURL='https://sdgov.my.site.com/CollectionMapLookup?refURL=http%3A%2F%2Fsdgov.my.site.com%2FCollectionMapLookup'; var currentURL=window.location.href; var validateOrg='prod'; //console.log('In Redirect1::'+currentURL+'@@'+validateOrg+'@@'+type+'@@'+currentPage); if(currentURL.includes('my.site') && validateOrg=='prod'){ redirectToURL(); } else if(currentPage=='TSWNewReport' && validateOrg=='prod' && (type==null || type=='')){ redirectToURL(); } console.log('In Redirect2::'); if(currentPage == 'SD_passportPage' && !(currentURL.includes('vf.force.com'))){ window.location.href='https://getitdone.sandiego.gov/SD_passportPageN'; //window.location.href='https://getitdone.sandiego.gov/SD_passportPageTest'; } </script> </body> </html></span> <script> document.getElementsByTagName('body')[0].classList.add("portal") </script> <script src="https://www.google.com/recaptcha/enterprise.js?render=6Lev-1UbAAAAAOvEL2sBxr2YAfdjqBXmILmWNoQC"></script><title>Trash, Recycling, and Greens Collection Schedule</title> <meta content="Find the collection schedule for your trash, recycling, and greens containers." name="description" /> <meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport" /> <link href="/resource/1727900087000/TSW_Web/img/favicon.png" rel="icon" type="image/png" /> <style> #map { height: 500px; } #result-table { width: 100%; } #result-table tr.site { cursor: pointer; } #result-table .schedule a { text-decoration: none; } .gm-style-iw-d .buttons { margin-top: 10px; } a.detail { font-size: 9pt; margin: 10px 0; } #waiting { padding-left: 20px; display: none; } #no-address-search-results { display: none; } @media screen and (max-width: 768px) { .captcha-field label{ display:none; } } </style> <!--[if lt IE 8]> <p class="browserupgrade">You are using an <strong>outdated</strong> browser. Please <a href="http://browsehappy.com/">upgrade your browser</a> to improve your experience.</p> <![endif]--> <div id="outer-wrap"> <div id="inner-wrap"> <form id="pgid:fmId" name="pgid:fmId" method="post" action="/CollectionMapLookup" enctype="application/x-www-form-urlencoded"> <input type="hidden" name="pgid:fmId" value="pgid:fmId" /> <span id="pgid:fmId:HeadComId"> <style type="text/CSS"> .testing-site { position: absolute; width: 100%; top: 0px; z-index: 1000; background: #f00; color: #fff; font-family: sans-serif; font-weight: bold; opacity: 0.9; } .loadingImage { vertical-align:bottom; } .loadingDescription { padding:0 1.5em 0 0.5em; } .loadingHolder { position: relative; top: 45%; white-space: nowrap; } .loadingDiv { background-color: white; opacity: .75; filter: alpha(opacity=75); text-align: center; width: 100%; height: 100%; position: fixed; z-index: 9999; left: 0; top: 0; } .hideButton{ display:none !important; } .create-account-btn.disabled{ background-color:#dde2e5; pointer-events:none; cursor: not-allowed; } .g-recaptcha iframe{ padding:0; } @media screen and (max-width: 768px) { .captcha-field label{ display:none; } } .accessibility-tool{ padding: 5px 0 .5em; margin-right: 30px; } div#__ba_panel { display: none; } </style> <header> <script> var highContrastCssLinkTag; function addContrastCss(){ highContrastCssLinkTag=document.createElement("link") highContrastCssLinkTag.setAttribute("rel", "stylesheet") highContrastCssLinkTag.setAttribute("type", "text/css") highContrastCssLinkTag.setAttribute("href", 'https://www.sandiego.gov/sites/default/files/high_contrast_current.css') document.getElementsByTagName("head")[0].appendChild(highContrastCssLinkTag); } function defaultContrast(){ if(highContrastCssLinkTag){ highContrastCssLinkTag.remove(); highContrastCssLinkTag = null; } } function addHighContrast(){ if(!highContrastCssLinkTag){ addContrastCss(); } } </script> <script type="text/javascript"> var actualResponse; function recaptchaCallback() { actualResponse = grecaptcha.enterprise.getResponse(); document.getElementById('pgid:fmId:HeadComId:HeaderCompId:captchaSuccId').value = actualResponse; document.querySelector('.create-account-btn').classList.remove('disabled'); document.getElementById('g-recaptcha-error').innerHTML = ''; } function expiredCallback(){ document.querySelector('.create-account-btn').classList.add('disabled'); } </script> <div class="top-nav-strip"> <div class="l-constrained"> <div class="row"> <div class="sm-six six columns no-gutters"> <p>Visit <a href="http://www.sandiego.gov">sandiego.gov</a></p> </div> <div class="sm-six six columns no-gutters"> <a class="search-icon translate-icon--open l-margin-rs"><i class="icon-translate"></i> </a> <div class="quicklinks l-padding-desktop-bs text-right l-margin-mobile-rm l-padding-mobile-ts"> <a class="popup-modal accessibility-tool" href="#accessibility_popup" id="accessibility">Accessibility Tools</a> <div class="google-translate"> <div id="google_translate_element"></div> </div> </div> </div> </div> </div> </div> <div class="l-constrained row l-padding-td l-padding-bd"> <div class="three columns no-gutters"> <a class="logo" href="/"> <img alt="The City of San Diego" height="64" src="/resource/1727900087000/TSW_Web/img/logo-portal.png" width="245" /> </a> </div> <div class="nine columns"> <div class="menu-btn menu-btn--open"> <a class="menu-toggle js-menu-toggle" href="#nav" id="nav-open-btn"><span>Menu</span><span class="menu-toggle__line"></span></a> </div> <nav class="main__navigation--portal nav-primary" id="nav" role="navigation"> <ul> <li><a href="https://www.sandiego.gov/getitdone">New Report</a></li> <li><a href="https://getitdone.sandiego.gov/TSWViewReportByList">View Reports</a></li> <li><a href="https://getitdone.sandiego.gov/SiteArticlesList">FAQ</a></li> <li><span id="pgid:fmId:HeadComId:HeaderCompId:j_id18"> <div id="login"> <a class="popup-modal" href="#login-modal"> LOGIN/REGISTER </a> </div></span> </li> </ul> </nav> </div> </div> </header> <div class="hero__wrap"> <div class="hero__bg hero__bg--secondary" style="background-image:url('/resource/1727900087000/TSW_Web/img/home-hero-1.jpg');"></div> <div class="hero--credit"> <p><span class="hero-caption">Torrey Pines State Beach</span><br /> <span class="hero-image-by-prefix">Photo by</span> <span class="hero-image-by">Luis Peraza</span></p> </div> <div class="l-constrained--site row"> <div class="twelve columns no-gutters"> <div class="main__message main__message--transparent"> <h1 align="right" style="color:#b3d9ff; height:100px;"></h1> </div> </div> </div> </div> <div class="white-popup mfp-hide" id="login-modal"> <h1>Log In</h1> <div class="form-item form-type-textfield form-item-fname"> <div id="usernameId-error" style="display:none;"> <font color="red"> Please enter your Email Address. </font></div> <div id="usernameId-error1" style="display:none;"> <font color="red"> Please enter valid email address </font></div> <label><span class="form-required" title="This field is required.">*</span></label> <input class="form-text required" id="usernameId" name="username" placeholder="E-mail" type="text" /> </div> <div class="form-item form-type-textfield form-item-fname"> <div id="passwordId-error" style="display:none;"> <font color="red"> Please enter your password. </font></div> <label><span class="form-required" title="This field is required.">*</span></label> <input autocomplete="off" class="form-text required" id="passwordId" name="password" placeholder="Password" type="password" /> </div> <p><a class="popup-modal" href="#password-modal" onclick="FillUserName();">Forgot your password?</a></p><input class="btn btn--wide btn--xl" id="pgid:fmId:HeadComId:HeaderCompId:loginButton" name="pgid:fmId:HeadComId:HeaderCompId:loginButton" onclick="ValidateLogin();;A4J.AJAX.Submit('pgid:fmId',event,{'similarityGroupingId':'pgid:fmId:HeadComId:HeaderCompId:loginButton','oncomplete':function(request,event,data){},'parameters':{'pgid:fmId:HeadComId:HeaderCompId:loginButton':'pgid:fmId:HeadComId:HeaderCompId:loginButton'} } );return false;" value="Login" style="margin-bottom: 5px;" type="button" /> <p>Login to your account to continue.</p> <div class="accordions js-toggle-accordion"><span id="pgid:fmId:HeadComId:HeaderCompId:status"><span id="pgid:fmId:HeadComId:HeaderCompId:status.start" style="display: none"> <div class="loadingDiv" id="loadingDiv"> <span class="loadingHolder" id="loadingHolder"> <img alt="Loading..." class="loadingImage" src="/apexpages/slds/latest/assets/images/spinners/slds_spinner_brand.gif" style="width:60px;" title="Loading..." /> </span> </div></span><span id="pgid:fmId:HeadComId:HeaderCompId:status.stop"></span></span> <div class="accordion"> <p class="accordion__heading"> <a class="accordion__link" href="#">Not registered? Create an account now to track all of your logged issues<span class="toggle-icon"></span></a> </p> <div class="accordion__drawer" style="display: none;"> <div> <p>To create an account that will allow you to receive follow ups and track your reports, provide your contact information and create a password below.</p> <div class="message message--error"> <p> <strong>Error!</strong> Please fill out missing fields below.</p> </div> <p class="fine-print text-right text-pom"><em>Required</em> <span class="form-required" title="This field is required.">*</span></p> <div class="twelve columns"> <div class="form-item form-type-textfield form-item-fname"> <div id="HRFnmId-error" style="display:none;"> <font color="red"> Please enter your first name. </font></div> <label><span class="form-required" title="This field is required.">*</span></label> <input class="form-text required" id="HRFnmId" name="fname" placeholder="First name" type="text" /> </div> <div class="form-item form-type-textfield form-item-fname"> <div id="HRLnmId-error" style="display:none;"> <font color="red"> Please enter your last name. </font></div> <label><span class="form-required" title="This field is required.">*</span></label> <input class="form-text required" id="HRLnmId" name="lname" placeholder="Last name" type="text" /> </div> <div class="form-item form-type-textfield form-item-fname"> <div id="HRphoneId-error" style="display:none;"> <font color="red"> Please enter your phone number. </font></div> <div id="HRphoneId-error1" style="display:none;"> <font color="red"> Please enter a valid phone number. </font></div> <label><span class="form-required" title="This field is required.">*</span></label> <input class="form-text required" id="HRphoneId" name="phone" placeholder="Phone number" type="text" /> </div> <div class="form-item form-type-textfield form-item-fname"> <div id="HRaddressId-error" style="display:none;"> <font color="red"> Please enter your address.</font></div> <label><span class="form-required" title="This field is required.">*</span></label> <input class="form-text required" id="HRaddressId" name="address" placeholder=" Street Address" type="text" /> </div> <div class="form-item form-type-textfield form-item-fname"> <div id="HRZipCodeId-error" style="display:none;"> <font color="red"> Please enter your Zipcode.</font></div> <label><span class="form-required" title="This field is required.">*</span></label> <input class="form-text required" id="HRZipCodeId" name="ZipCode" placeholder="Zip Code" type="text" /> </div> <div class="form-item form-type-textfield form-item-fname"> <div id="HRurnmId-error" style="display:none;"> <font color="red"> Please enter your Email. </font></div> <div id="HRurnmId-error2" style="display:none;"> <font color="red"> This e-mail address is already in use. Please enter another e-mail address. </font></div> <div id="HRurnmId-error3" style="display:none;"> <font color="red">Please enter valid email address</font></div> <label><span class="form-required" title="This field is required.">*</span></label> <input class="form-text required error" data-error="1" id="HRurnmId" maxlength="255" name="edit-email" placeholder="Email" size="60" type="text" /> </div> <div class="form-item form-type-textfield form-item-fname"> <div id="HRpassId-error" style="display:none;"> <font color="red"> Please enter password. </font></div> <div id="HRpassId-error1" style="display:none;"> <font color="red"> Your password must be at least 8 characters long, and contain letters and numbers.</font></div> <div id="HRpassId-error2" style="display:block;"> <font color="blue"> Your password must be at least 8 characters long, and contain letters and numbers.</font></div> <label><span class="form-required" title="This field is required.">*</span></label> <input autocomplete="off" class="form-text required error" data-error="1" id="HRpassId" maxlength="255" name="edit-pass" placeholder="Password" size="60" type="password" /> </div> <div class="form-item form-type-textfield form-item-fname"> <div id="HRpassRId-error" style="display:none;"> <font color="red"> Please Re-Type Password. </font></div> <div id="HRpassRId-error1" style="display:none;"> <font color="red"> Password and Re-Type Password do not match. </font></div> <label><span class="form-required" title="This field is required.">*</span></label> <input autocomplete="off" class="form-text required error" data-error="1" id="HRpassRId" maxlength="255" name="edit-pass" placeholder="Re-Type Password" size="60" type="password" /> </div><br /> <div class="form-item form-type-textfield form-item-fname captcha-field"> <label><span class="form-required" title="This field is required.">*</span></label> <div class="g-recaptcha" data-callback="recaptchaCallback" data-expired-callback="expiredCallback" data-sitekey="6LfjF74aAAAAAF3PZWvpYjVn2nNHUIkR_u2J89NW"> </div> <div id="g-recaptcha-error"></div> <br /> </div> </div><input class="btn btn--wide btn--xl create-account-btn disabled" id="pgid:fmId:HeadComId:HeaderCompId:CreateAccButton" name="pgid:fmId:HeadComId:HeaderCompId:CreateAccButton" onclick="ValidateRegistration();;A4J.AJAX.Submit('pgid:fmId',event,{'similarityGroupingId':'pgid:fmId:HeadComId:HeaderCompId:CreateAccButton','oncomplete':function(request,event,data){},'parameters':{'pgid:fmId:HeadComId:HeaderCompId:CreateAccButton':'pgid:fmId:HeadComId:HeaderCompId:CreateAccButton'} ,'status':'pgid:fmId:HeadComId:HeaderCompId:status'} );return false;" value="Create an Account" style="margin-bottom: 5px;" type="button" /> <p>Click the Create an Account button to create an account and continue.</p> </div> </div> </div> </div> </div> <div class="white-popup mfp-hide" id="password-modal"> <h1>Password Recovery</h1> <div id="PassResetMsgId" style="display:none;color:green"> Reset password link has been sent at your email address. Please check your mailbox. <br /> <br /> </div> <div id="PassResetId" style="display:block"> <p> Enter your username to receive a password recovery email.</p> <input class="form-text required" id="usernameResetPassId" name="username" placeholder="Username" type="text" /><input class="btn btn--wide btn--xl" id="pgid:fmId:HeadComId:HeaderCompId:ResetPasswordId" name="pgid:fmId:HeadComId:HeaderCompId:ResetPasswordId" onclick="ValidateForgetPass();;A4J.AJAX.Submit('pgid:fmId',event,{'similarityGroupingId':'pgid:fmId:HeadComId:HeaderCompId:ResetPasswordId','oncomplete':function(request,event,data){},'parameters':{'pgid:fmId:HeadComId:HeaderCompId:ResetPasswordId':'pgid:fmId:HeadComId:HeaderCompId:ResetPasswordId'} } );return false;" value="Send recovery Email" style="margin-bottom: 5px;" type="button" /> </div> <p> <a class="popup-modal" href="#login-modal" style="margin-bottom: 5px;">Return to the login screen</a></p> </div> <div class="white-popup mfp-hide" id="account-modal"> <h1>Create an Account</h1> <div class="message message--success"> <p> <strong>Success!</strong> Your account has been created.</p> </div> <br /> <p>Click Next to continue to the report verification screen.</p> </div> <div class="white-popup accessibility-popup-position mfp-hide" id="accessibility_popup" title="Basic dialog"> <h3>Accessibility Tools</h3> <div class="row"> <div class="five columns"> <span style="color:lightgrey;font-size: 24px;">&nbsp;</span> <a href="javascript:;" onclick="BrowseAloud.panel.toggleBar(true,event);return false;" title="Turn audio/vision assist on/off">Turn audio/vision assist on/off</a> </div> <div class="four columns"> <span style="color:lightgrey;font-size: 24px;">|</span> <strong class="high_contrast_switcher_label">Contrast:</strong> <span class="high_contrast_switcher_normal"> <a class="disable_link" href="javascript:defaultContrast();" id="high_contrast_switcher_normal_id" title="Set contrast to normal">Default</a> </span> <span class="high_contrast_switcher_separator">/</span> <span class="high_contrast_switcher_high"> <a href="javascript:addHighContrast();" id="high_contrast_switcher_high_id" title="Set contrast to high">High</a> </span> </div> <div class="three columns"> <span style="color:lightgrey;font-size: 24px;">|</span> <span>&nbsp;&nbsp;<a href="https://www.sandiego.gov/accessibility" title="More information on accessibility">More Info</a></span> </div> </div> </div><input id="pgid:fmId:HeadComId:HeaderCompId:LurnmId" type="hidden" name="pgid:fmId:HeadComId:HeaderCompId:LurnmId" /><input id="pgid:fmId:HeadComId:HeaderCompId:LpassId" type="hidden" name="pgid:fmId:HeadComId:HeaderCompId:LpassId" /><script>function DoLogin() { SfdcApp.Visualforce.VSManager.vfPrepareForms(["pgid:fmId"]); if(typeof jsfcljs == 'function'){jsfcljs(document.forms['pgid:fmId'],'pgid:fmId:HeadComId:HeaderCompId:j_id31,pgid:fmId:HeadComId:HeaderCompId:j_id31','');}return false }</script><input id="pgid:fmId:HeadComId:HeaderCompId:RFnmId" type="hidden" name="pgid:fmId:HeadComId:HeaderCompId:RFnmId" /><input id="pgid:fmId:HeadComId:HeaderCompId:RLnmId" type="hidden" name="pgid:fmId:HeadComId:HeaderCompId:RLnmId" /><input id="pgid:fmId:HeadComId:HeaderCompId:RphoneId" type="hidden" name="pgid:fmId:HeadComId:HeaderCompId:RphoneId" /><input id="pgid:fmId:HeadComId:HeaderCompId:RaddressId" type="hidden" name="pgid:fmId:HeadComId:HeaderCompId:RaddressId" /><input id="pgid:fmId:HeadComId:HeaderCompId:RZipcodeId" type="hidden" name="pgid:fmId:HeadComId:HeaderCompId:RZipcodeId" /><input id="pgid:fmId:HeadComId:HeaderCompId:RurnmId" type="hidden" name="pgid:fmId:HeadComId:HeaderCompId:RurnmId" /><input id="pgid:fmId:HeadComId:HeaderCompId:RpassId" type="hidden" name="pgid:fmId:HeadComId:HeaderCompId:RpassId" /><input id="pgid:fmId:HeadComId:HeaderCompId:RpassRId" type="hidden" name="pgid:fmId:HeadComId:HeaderCompId:RpassRId" /><input id="pgid:fmId:HeadComId:HeaderCompId:captchaSuccId" type="hidden" name="pgid:fmId:HeadComId:HeaderCompId:captchaSuccId" /><script>function DoRegistration() { SfdcApp.Visualforce.VSManager.vfPrepareForms(["pgid:fmId"]); if(typeof jsfcljs == 'function'){jsfcljs(document.forms['pgid:fmId'],'pgid:fmId:HeadComId:HeaderCompId:j_id32,pgid:fmId:HeadComId:HeaderCompId:j_id32','');}return false }</script><input id="pgid:fmId:HeadComId:HeaderCompId:ReseturId" type="hidden" name="pgid:fmId:HeadComId:HeaderCompId:ReseturId" /><script>function DoResetPassword() { SfdcApp.Visualforce.VSManager.vfPrepareForms(["pgid:fmId"]); if(typeof jsfcljs == 'function'){jsfcljs(document.forms['pgid:fmId'],'pgid:fmId:HeadComId:HeaderCompId:j_id33,pgid:fmId:HeadComId:HeaderCompId:j_id33','');}return false }</script> <script> function FillUserName() { document.getElementById('usernameResetPassId').value = document.getElementById('usernameId').value; } </script> <script> function ValidateLogin() { var username = document.getElementById('usernameId').value; var password = document.getElementById('passwordId').value; var usernameId = document.getElementById('usernameId'); var passwordId = document.getElementById('passwordId'); var usernameEId = document.getElementById('usernameId-error'); var usernameEVId = document.getElementById('usernameId-error1'); var passwordEId = document.getElementById('passwordId-error'); if(username == '') { //alert('Please enter your username.'); usernameId.style.cssText = "border: 1px solid red"; usernameEId.style.cssText = "display:block"; return false; } else { usernameEId.style.cssText = "display:none"; if(!validateEmail(username)) { //alert('Your username must be in the form of an email address.'); usernameEVId.style.cssText = "display:block"; return false; } else { usernameId.style.cssText = ""; usernameEVId.style.cssText = "display:none"; if(password == '') { //alert('Please enter your password.'); passwordId.style.cssText = "border: 1px solid red"; passwordEId.style.cssText = "display:block"; return false; } else { passwordId.style.cssText = ""; passwordEId.style.cssText = "display:none"; document.getElementById('pgid:fmId:HeadComId:HeaderCompId:LurnmId').value = username; document.getElementById('pgid:fmId:HeadComId:HeaderCompId:LpassId').value = password; DoLogin(); } } } } function ValidateRegistration() { var Fname = document.getElementById('HRFnmId').value; var Lname = document.getElementById('HRLnmId').value; var Phone = document.getElementById('HRphoneId').value; var Address = document.getElementById('HRaddressId').value; var Zipcode = document.getElementById('HRZipCodeId').value; var Username = document.getElementById('HRurnmId').value; //var Email = document.getElementById('HRemailId').value; var Password = document.getElementById('HRpassId').value; var Repassword = document.getElementById('HRpassRId').value; var FnameId = document.getElementById('HRFnmId'); var LnameId = document.getElementById('HRLnmId'); var PhoneId = document.getElementById('HRphoneId'); var AddressId = document.getElementById('HRaddressId'); var ZipcodeId = document.getElementById('HRZipCodeId'); var UsernameId = document.getElementById('HRurnmId'); //var EmailId = document.getElementById('HRemailId'); var PasswordId = document.getElementById('HRpassId'); var RepasswordId = document.getElementById('HRpassRId'); var FnameEId = document.getElementById('HRFnmId-error'); var LnameEId = document.getElementById('HRLnmId-error'); var PhoneEId = document.getElementById('HRphoneId-error'); var PhoneEVId = document.getElementById('HRphoneId-error1'); var AddressEId = document.getElementById('HRaddressId-error'); var ZipcodeEId = document.getElementById('HRZipCodeId-error'); var UsernameEId = document.getElementById('HRurnmId-error'); //var UsernameEVId = document.getElementById('HRurnmId-error1'); var UsernameEV1Id = document.getElementById('HRurnmId-error2'); var UsernameEV2Id = document.getElementById('HRurnmId-error3'); //NEW //var EmailEId = document.getElementById('HRemailId-error'); //var EmailEVId = document.getElementById('HRemailId-error1'); var PasswordEId = document.getElementById('HRpassId-error'); var PasswordE1Id = document.getElementById('HRpassId-error1'); var PasswordE2Id = document.getElementById('HRpassId-error2'); //NEW var RepasswordEId = document.getElementById('HRpassRId-error'); var RepasswordEVId = document.getElementById('HRpassRId-error1'); var phonePattern = /^[(]{0,1}[0-9]{3}[)]{0,1}[-\s\.]{0,1}[0-9]{3}[-\s\.]{0,1}[0-9]{4}$/; if(Fname == '') { // alert('Please enter your first name.'); FnameId.style.cssText = "border: 1px solid red"; FnameEId.style.cssText = "display:block"; return false; } else { FnameId.style.cssText = ""; FnameEId.style.cssText = "display:none"; if(Lname == '') { //alert('Please enter your last name.'); LnameId.style.cssText = "border: 1px solid red"; LnameEId.style.cssText = "display:block"; return false; } else { LnameId.style.cssText = ""; LnameEId.style.cssText = "display:none"; if(Phone == '') { //alert('Please enter your phone number.'); PhoneId.style.cssText = "border: 1px solid red"; PhoneEId.style.cssText = "display:block"; return false; } else { PhoneEId.style.cssText = "display:none"; if(!phonePattern.test(Phone)) { //alert('Please enter valid phone number.'); PhoneId.style.cssText = "border: 1px solid red"; PhoneEVId.style.cssText = "display:block"; return false; } else { PhoneId.style.cssText = ""; PhoneEVId.style.cssText = "display:none"; if(Address == '') { //alert('Please enter your address.'); AddressId.style.cssText = "border: 1px solid red"; AddressEId.style.cssText = "display:block"; return false; } else { AddressId.style.cssText = ""; AddressEId.style.cssText = "display:none"; if(Zipcode == '') { //alert('Please enter your address.'); ZipcodeId.style.cssText = "border: 1px solid red"; ZipcodeEId.style.cssText = "display:block"; return false; } else { ZipcodeId.style.cssText = ""; ZipcodeEId.style.cssText = "display:none"; if(Username == '') { //alert('Please enter your username.'); UsernameId.style.cssText = "border: 1px solid red"; UsernameEId.style.cssText = "display:block"; return false; } else { UsernameEId.style.cssText = "display:none"; if(!validateEmail(Username)) { //alert('Your username must be in the form of an email address.'); UsernameId.style.cssText = "border: 1px solid red";; UsernameEV2Id.style.cssText = "display:block"; //UsernameEVId.style.cssText = "display:block"; return false; } else { UsernameId.style.cssText = ""; UsernameEV2Id.style.cssText = "display:none"; //UsernameEVId.style.cssText = "display:none"; if(Password == '') { //alert('Please enter your password.'); PasswordId.style.cssText = "border: 1px solid red"; PasswordEId.style.cssText = "display:block"; return false; } else { PasswordEId.style.cssText = "display:none"; if(Password.length < 8) { //alert('Password length should be greater than 8.'); PasswordId.style.cssText = "border: 1px solid red"; PasswordE1Id.style.cssText = "display:block"; PasswordE2Id.style.cssText = "display:none"; return false; } else { PasswordId.style.cssText = ""; PasswordE1Id.style.cssText = "display:none"; //PasswordE2Id.style.cssText = "display:block"; if(Repassword == '') { //alert('Please enter your re-type password.'); RepasswordId.style.cssText = "border: 1px solid red"; RepasswordEId.style.cssText = "display:block"; return false; } else { RepasswordEId.style.cssText = "display:none"; if(Password != Repassword) { //alert('Password and Re-Type Password do not match.'); RepasswordEVId.style.cssText = "display:block"; return false; } else { RepasswordId.style.cssText = ""; RepasswordEVId.style.cssText = "display:none"; document.getElementById('pgid:fmId:HeadComId:HeaderCompId:RFnmId').value = Fname; document.getElementById('pgid:fmId:HeadComId:HeaderCompId:RLnmId').value = Lname; document.getElementById('pgid:fmId:HeadComId:HeaderCompId:RphoneId').value = Phone; document.getElementById('pgid:fmId:HeadComId:HeaderCompId:RaddressId').value = Address; document.getElementById('pgid:fmId:HeadComId:HeaderCompId:RZipcodeId').value = Zipcode; document.getElementById('pgid:fmId:HeadComId:HeaderCompId:RurnmId').value = Username; //document.getElementById('').value = Email; document.getElementById('pgid:fmId:HeadComId:HeaderCompId:RpassId').value = Password; document.getElementById('pgid:fmId:HeadComId:HeaderCompId:RpassRId').value = Repassword; var UserExist = ''; Visualforce.remoting.Manager.invokeAction( 'TSWLoginRegisterCtrl.CheckIfUserExist', Username, function(Result, event) { if(Result == true) UserExist = 'Yes'; else UserExist = 'No'; }, {escape: true} ); var t = setTimeout(function() { if(UserExist == 'Yes') { UsernameId.style.cssText = "border: 1px solid red"; UsernameEV1Id.style.cssText = "display:block"; return false; } else { UsernameId.style.cssText = ""; UsernameEV1Id.style.cssText = "display:None"; document.querySelector('.create-account-btn').classList.add('disabled'); DoRegistration(); } }, 2000); } } } } } } } } } } } } } function validateEmail(email) { var re = /^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/; return re.test(email); } function ValidateForgetPass() { var username = document.getElementById('usernameResetPassId').value if(username == '') { alert('Please enter your username.'); return false; } else { document.getElementById('pgid:fmId:HeadComId:HeaderCompId:ReseturId').value = username; document.getElementById('PassResetMsgId').style.display = 'Block'; document.getElementById('PassResetId').style.display = 'None'; DoResetPassword(); } } </script> <script crossorigin="anonymous" integrity="sha256-VCrJcQdV3IbbIVjmUyF7DnCqBbWD1BcZ/1sda2KWeFc= sha384-k2OQFn+wNFrKjU9HiaHAcHlEvLbfsVfvOnpmKBGWVBrpmGaIleDNHnnCJO4z2Y2H sha512-gxDfysgvGhVPSHDTieJ/8AlcIEjFbF3MdUgZZL2M5GXXDdIXCcX0CpH7Dh6jsHLOLOjRzTFdXASWZtxO+eMgyQ==" src="https://www.browsealoud.com/plus/scripts/3.1.0/ba.js" type="text/javascript"> </script> <script> var l = document.createElement("a"); l.href = window.location.href; var pathname=l.pathname; var browserName = navigator.sayswho= ( function() { var ua= navigator.userAgent, tem, M= ua.match(/(opera|chrome|safari|firefox|msie|trident(?=\/))\/?\s*(\d+)/i) || []; if(/trident/i.test(M[1])){ tem= /\brv[ :]+(\d+)/g.exec(ua) || []; return 'IE '+(tem[1] || ''); } if(M[1]=== 'Chrome'){ tem= ua.match(/\b(OPR|Edge)\/(\d+)/); if(tem!= null) return tem.slice(1).join(' ').replace('OPR', 'Opera'); } M= M[2]? [M[1], M[2]]: [navigator.appName, navigator.appVersion, '-?']; if((tem= ua.match(/version\/(\d+)/i))!= null) M.splice(1, 1, tem[1]); return M.join(' '); })(); /****************************** Browser compatibility alert start ********************************************/ $(document).ready(function() { if(sessionStorage.getItem("isFlag") == 'undefined' || sessionStorage.getItem("isFlag") == null) { sessionStorage.setItem("isFlag", true); } setTimeout(function() { var browser = (function() { var ua = navigator.userAgent, tem, M = ua.match( /(opera|chrome|safari|firefox|msie|trident(?=\/))\/?\s*(\d+)/i ) || []; if (/trident/i.test(M[1])) { tem = /\brv[ :]+(\d+)/g.exec(ua) || []; return { name: "IE", version: tem[1] || "" }; } if (M[1] === "Chrome") { tem = ua.match(/\b(OPR|Edge)\/(\d+)/); if (tem != null) { return { name: tem[1].replace("OPR", "Opera"), version: tem[2] }; } } M = M[2] ? [M[1], M[2]] : [navigator.appName, navigator.appVersion, "-?"]; if ((tem = ua.match(/version\/(\d+)/i)) != null) { M.splice(1, 1, tem[1]); } return { name: M[0], version: M[1] }; })(); if(!(browser.name.toLocaleLowerCase() == 'chrome' || browser.name.toLocaleLowerCase() == 'firefox' || browser.name.toLocaleLowerCase() == 'safari' || browser.name.toLocaleLowerCase() == 'edge')) { if(sessionStorage.getItem("isFlag") == "true") { /*$.alert({ title: 'Alert!', content: 'The Get It Done website is known to work with the latest versions of Chrome, Firefox, Edge, and Safari. The browser you are using does not appear to be supported. If you are experiencing difficulties using this website, please switch to a supported web browser.', boxWidth: '80%', useBootstrap: false, draggable: false });*/ alert("The Get It Done website is known to work with the latest versions of Chrome, Firefox, Edge, and Safari. The browser you are using does not appear to be supported. If you are experiencing difficulties using this website, please switch to a supported web browser."); sessionStorage.setItem("isFlag", false); } } }, 5000); }); /****************************** Browser compatibility alert End ********************************************/ if ('PROD' == 'QA') { var logo = document.querySelector('.logo'); var newElement = document.createElement('h3'); newElement.classList.add('testing-site'); newElement.innerHTML = 'TESTING SITE - DO NOT ENTER REAL DATA'; logo.appendChild(newElement); } </script></span><div id="pgid:fmId:j_id43"></div> </form> <main role="main"> <div id="pageStart"> <div class="l-constrained l-padding-mobile-hd background-white"> <div class="l-container breadcrumbs l-padding-ad l-padding-bn background-white" id="breadcrumbs"> <h1>Collection Schedule Lookup<img alt="Loading indicator" id="waiting" src="/img/loading.gif" title="Please wait" /></h1> </div> <div class="row"> <div class="six columns"> <p class="subheading">Instructions:</p> <p>Use the "Current Location" button below or click or tap on the map. Alternately, you can search by the number and street name of the address.</p> <p>After finding the address, you will see links to download the calendar and view a detail page that you can bookmark for quick access in the future.</p> <p> <span><b>Collection Frequency</b></span> <ul style="margin: 0;"> <li style="color: #000000;"><b>Black bins (waste)</b>: once a week</li> <li style="color: #006600;"><b>Green bins (organics)</b>: once a week</li> <li style="color: #004466;"><b>Blue bins (recycling)</b>: every other week</li> </ul> </p> <br /> <div class="row"> <div class="eight columns"><a class="btn" id="current-location-button">Current Location</a></div> </div> <br /> <p class="h5">Address Search</p> <em class="fine-print" style="margin-left: 10px;">Example: 1549 El Prado</em> <div class="row"> <div class="six columns"><input id="address-search" type="text" /></div> <div class="four columns"><span id="search-status" style="line-height: 2.25;">Type to search</span></div> </div> <div class="row" id="no-address-search-results"> <div class="10 columns"> <h4>Why Is My Address Not Shown?</h4> <ul> <li>Try using the map. Sometimes the City's records have addresses in different formats than the postal service.</li> <li>Do you have a HOA where you live, or do you live in a multi-unit building? You may get service from a private company.</li> <li>Please call 858-694-7000 with any questions.</li> </ul> </div> </div> <br /> <p class="subheading" id="search-results">Results</p> <table id="result-table"> <tr id="result-header"><th>Address</th><th>Next Collection Date</th></tr> <tr class="result"><td colspan="2"><p><em>Use the map or address search to load results.</em></p></td></tr> </table> </div> <div class="six columns"> <div id="map"></div> </div> </div> <div class="nine columns"> <p><strong>Note:</strong> Please call us at 858-694-7000 to report any errors with this data.</p> </div> <br /> </div> </div> </main> </div> </div><span id="pgid:j_id36"> <footer class="l-constrained text-center--mobile" style="display:none"> <div class="row"> <div class="three columns footer--left l-padding-ad l-padding-vm"> <div class="row l-padding-desktop-ld"> <div class="twelve columns no-gutters"> <img alt="The City of San Diego - logo" height="39" src="/resource/1727900087000/TSW_Web/img/logo--white--sm.png" width="49" /> <ul class="socials"> <li><a href="https://www.facebook.com/CityofSanDiego" title="Facebook"><i class="icon-facebook"></i></a></li> <li><a href="https://twitter.com/CityofSanDiego" title="Twitter"><i class="icon-twitter"></i></a></li> <li><a href="http://www.youtube.com/user/TheCityofSanDiego" title="YouTube"><i class="icon-youtube"></i></a></li> <li><a href="https://www.instagram.com/cityofsandiego/" title="Instagram"><i class="icon-instagram"></i></a></li> <li><a href="https://nextdoor.com/city/feed/748155/?i=wkjkutqnzmjazcaegxre" title="Nextdoor"><i class="icon-nextdoor"></i></a></li> <li><a href="https://www.linkedin.com/company/cityofsandiego" title="LinkedIn"><i class="icon-linkedin"></i></a></li> </ul> <p class="copyright"> Copyrighted &copy; 2002-2024 <br /> City of San Diego. All rights reserved.</p> </div> </div> </div> <div class="nine columns no-gutters"> </div> </div> <div class="footer__privacy"> <div class="l-constrained row text-center l-padding-vd"> <ul> <li><a href="https://www.sandiego.gov/disclaimers">Disclaimers</a></li> <li><a href="https://www.sandiego.gov/privacy-policy">Privacy Policy</a></li> <li><a href="https://www.sandiego.gov/accessibility">Accessibility</a></li> <li><a href="https://www.sandiego.gov/translation">Language Translation</a></li> <li><a href="https://www.sandiego.gov/contact">Contact the City</a></li> </ul> </div> </div> </footer> <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.3/jquery.min.js"></script> <script> window.jQuery || document.write('<script type="text/javascript" src="/resource/1727900087000/TSW_Web/js/vendor/jquery.min.js"/>')</script> <script src="/resource/1727900087000/TSW_Web/js/plugins.min.js" type="text/javascript"></script> <script> window.twttr = (function (d, s, id) { var js, fjs = d.getElementsByTagName(s)[0], t = window.twttr || {}; if (d.getElementById(id)) return t; js = d.createElement(s); js.id = id; js.src = "https://platform.twitter.com/widgets.js"; fjs.parentNode.insertBefore(js, fjs); t._e = []; t.ready = function (f) { t._e.push(f); }; return t; }(document, "script", "twitter-wjs")); </script> <script> var code = document.getElementById("code"); if (code) { var editor = CodeMirror.fromTextArea(code, { lineNumbers: true, mode: "application/x-ejs", indentUnit: 1, indentWithTabs: true }); } </script> <script> var ctx = document.getElementById("lineChart"); if (ctx) { ctx = ctx.getContext("2d"); var lineChart = new Chart(ctx).Line(data); } </script> <script type="text/javascript"> // to top right away if ( window.location.hash ) scroll(0,0); // void some browsers issue setTimeout( function() { scroll(0,0); }, 1); // any position $(function() { // your current click function $('.scroll').on('click', function(e) { e.preventDefault(); $('html, body').animate({ scrollTop: $($(this).attr('href')).offset().top + 'px' }, 1000, 'swing'); }); // *only* if we have anchor on the url if(window.location.hash) { // smooth scroll to the anchor id $('html, body').animate({ scrollTop: $(window.location.hash).offset().top + 'px' }, 1000, 'swing'); } }); </script> <script> (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){ (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o), m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m) })(window,document,'script','https://www.google-analytics.com/analytics.js','ga'); ga('create', 'UA-41750560-19', 'auto'); ga('send', 'pageview'); </script></span> <script> const labels = "ABCDEFGHIJKLMNOPQRSTUVWXYZ"; let map, infoWindow, results; let markers = []; let coords = {}; let pdfSchedules = {'B_': 'blue-recycleonly', 'O_': 'orange-recycleonly', 'BO': 'blue-oppweeks', 'OB': 'orange-oppweeks', 'BB': 'blue-sameweeks', 'OO': 'orange-sameweeks' }; function collectionDate(timestamp) { let d = new Date(timestamp + (8 * 60 * 60 * 1000)); // add 8 hours for timezone to get to PST let day = new Intl.DateTimeFormat('en', { weekday: 'short' }).format(d); let date = new Intl.DateTimeFormat('en-US').format(d); return day + ' ' + date; } function addMarker(location, label, map) { const marker = new google.maps.Marker({ position: location, label: label, map: map, }); markers.push(marker); marker.addListener("click", () => { infoWindow.setContent(jQuery('tr.' + label + ' td').html()); infoWindow.open(map, marker); }); } function clearMarkers() { for (let i = 0; i < markers.length; i++) { markers[i].setMap(null); } coords = {}; markers = []; } function showResult(result) { jQuery('#waiting').hide(); jQuery('#result-table .result').remove(); clearMarkers(); let tableContents = ''; let pannedMap = false; for (let i in result) { let r = result[i]; let label = labels[markers.length % labels.length]; let pos = { lat: r.Geolocation_ESRI__Latitude__s, lng: r.Geolocation_ESRI__Longitude__s, }; if (!pannedMap) { map.panTo(pos); if (map.getZoom() != 19) { map.setZoom(19); } pannedMap = true; } if (coords[pos.lat + '-' + pos.lng]) { label = coords[pos.lat + '-' + pos.lng]; } let rDate = collectionDate(r.Recycle_Next_Collections_Date__c); if (r.Recycle_Week__c == 'B') { let d = new Date(r.Refuse_Next_Collections_Date__c + (8 * 60 * 60 * 1000)); // add 8 hours for timezone to get to PST let cutoff = new Date('January 8, 2024 00:00:00'); if (d < cutoff) { rDate = collectionDate(r.Refuse_Next_Collections_Date__c); } } tableContents += '<tr class="result site ' + label + '" data-label="' + label + '"><td><b>' + label + '</b> ' + ' ' + r.Site_Address__c + '<div class="buttons"><a class="detail btn" title="Bookmarkable Page" href="/CollectionDetail?id=' + r.Id + '" target="_blank">' + 'Bookmarkable Page</a> <a class="detail btn" href="' + getCalendarLink(r) + '" target="_blank">PDF Calendar</a></div></td>' + '<td class="schedule">' + (r.Refuse_Next_Collections_Date__c ? '<div>Trash: ' + collectionDate(r.Refuse_Next_Collections_Date__c) + '</div>': '') + (r.Recycle_Next_Collections_Date__c ? '<div>Recycle: ' + rDate /*collectionDate(r.Recycle_Next_Collections_Date__c)*/ + '</div>' : '') + (!r.Organics_Next_Collections_Date__c && r.Greens_Next_Collections_Date__c ? '<div><a target="_blank" href="https://www.sandiego.gov/environmental-services/recycling/residential/curbside/newgreenery">Greens <i class="icon-launch icon--xs"></i></a>: ' + collectionDate(r.Greens_Next_Collections_Date__c) + '</div>' : '') + (r.Organics_Next_Collections_Date__c ? '<div><a target="_blank" href="https://www.sandiego.gov/environmental-services/recycling/sb1383">Organics <i class="icon-launch icon--xs"></i></a>: ' + collectionDate(r.Organics_Next_Collections_Date__c) + '</div>' : '') + '</td></tr>'; if (coords[pos.lat + '-' + pos.lng] == undefined) { coords[pos.lat + '-' + pos.lng] = label; addMarker(pos, label, map); } } if (Object.keys(result).length == 0) { tableContents = '<tr class="result"><td colspan="2"><p><em>No results found.</em></p></td></tr>'; } jQuery(tableContents).appendTo('#result-table'); jQuery('#result-table .result').click(function(){ let l = $(this).data('label'); for (let i = 0; i < markers.length; i++) { let marker = markers[i]; if (marker.label == l) { map.panTo(marker.position); new google.maps.event.trigger( marker, 'click' ); } } }); } function initMap() { infoWindow = new google.maps.InfoWindow(); map = new google.maps.Map(document.getElementById("map"), { center: { lat: 32.741197, lng: -117.147531 }, zoom: 11, draggableCursor: 'default', fullscreenControl: false, styles: [{ featureType: "poi.business", stylers: [{ visibility: "off" }] }], }); map.setClickableIcons(false); map.addListener("click", (mapsMouseEvent) => { if (jQuery('#waiting').is(":visible")) { return; } resetAddressSearch(); showWaitingForSearch(); grecaptcha.enterprise.ready(function() { let action = "CollectionMapSearch"; grecaptcha.enterprise.execute('6Lev-1UbAAAAAOvEL2sBxr2YAfdjqBXmILmWNoQC', {action: action}).then(function(token) { searchByLatLng(action, token, mapsMouseEvent.latLng.lat(), mapsMouseEvent.latLng.lng()); }); }); }); jQuery('#address-search').keyup(function(event) { if (event.which != 8 && event.which < 32) { return; } let term = jQuery('#address-search').val(); let regex = /.+ .+/; if (term.length > 3 && term.search(regex) != -1) { // load the matches searchByAddress(term); } else { resultCache = {}; lastMatchString = ''; lastSearchStub = ''; jQuery('#search-status').text('Type to search'); showResult({}); } }); } let resultCache = {}; let lastMatch = {}; let lastMatchString = ''; let lastSearchStub = ''; function searchByAddress(searchString) { if (jQuery('#waiting').is(":visible")) { return; } jQuery('#no-address-search-results').hide(); showWaitingForSearch(); if (Object.keys(resultCache).length > 0) { let filteredResult = {}; let regex = new RegExp('^' + searchString, 'gi'); for (let key in resultCache) { if (resultCache[key].Site_Address__c.search(regex) != -1) { filteredResult[key] = resultCache[key]; } } let count = Object.keys(filteredResult).length; if (count > 0) { lastMatch = filteredResult; lastMatchString = searchString; } if (count == 0 && lastMatchString != '') { filteredResult = lastMatch; count = Object.keys(filteredResult).length; } showAddressSearchCount(count); doneWaitingForSearch(); showResult(filteredResult); return; } let searchBits = searchString.split(' '); let searchStub = searchBits[0] + ' ' + searchBits[1][0]; // if we performed a search and nothing was returned // and the user is typing a longer string, don't bother searching again if (lastSearchStub == searchStub && Object.keys(resultCache.length == 0)) { jQuery('#search-status').text('No results found'); doneWaitingForSearch(); return; } grecaptcha.enterprise.ready(function() { let action = "CollectionAddressSearch"; grecaptcha.enterprise.execute('6Lev-1UbAAAAAOvEL2sBxr2YAfdjqBXmILmWNoQC', {action: action}).then(function(token) { Visualforce.remoting.Manager.invokeAction( 'CollectionMapLookupController.getSitesByAddress', token, searchStub, function (result, event) { if (event.status && event.result) { doneWaitingForSearch(); lastSearchStub = searchStub; resultCache = event.result; let count = 0; let filteredResult = {}; // start with full string, then back off to find the longest matching string for(let i = searchBits[1].length; i > 0; i--) { let searchPart = searchBits[0] + ' ' + searchBits[1].substring(0, i); let regex = new RegExp('^' + searchPart , 'gi'); for (let key in resultCache) { if (resultCache[key].Site_Address__c.search(regex) != -1) { filteredResult[key] = resultCache[key]; } } count = Object.keys(filteredResult).length; if (count > 0) { lastMatch = filteredResult; lastMatchString = searchPart; showAddressSearchCount(count); showResult(filteredResult); break; } } if (Object.keys(event.result).length == 0) { showAddressSearchCount(0); showResult({}); } } else { doneWaitingForSearch(); jQuery('#result-table .result').remove(); jQuery('<tr class="result"><td colspan="2"><p><em>Server error. Please try again.</em></p></td></tr>').appendTo('#result-table'); } }, { escape: true } ); }); }); } function showAddressSearchCount(count) { let term = jQuery('#address-search').val(); if (lastMatchString != term && lastMatchString != '') { jQuery('#search-status').html('Not found. Closest match shown'); } else if (count == 0 ) { jQuery('#search-status').text('No results found'); jQuery('#no-address-search-results').show(); } else { jQuery('#search-status').text('Found ' + count + ' Match' + (count > 1 ? 'es' : '')); } } function getCalendarLink(site) { let combined = (site.Recycle_Week__c == null ? '_' : site.Recycle_Week__c) + (site.Green_Week__c == null ? '_' : site.Green_Week__c); return 'https://www.sandiego.gov/sites/default/files/legacy/environmental-services/collection/pdf/curbsidecalendar-' + pdfSchedules[combined] + '.pdf'; } function resetAddressSearch() { resultCache = {}; jQuery('#search-status').text('Type to search'); jQuery('#address-search').val(''); jQuery('#no-address-search-results').hide(); showResult({}); } let addressHadFocus = false; function showWaitingForSearch() { addressHadFocus = jQuery("#address-search").is(":focus") jQuery('#waiting').show(); jQuery('#search-status').text('Loading...');//DEF-007417 jQuery('#address-search').prop('disabled', true); } function doneWaitingForSearch() { jQuery('#address-search').prop('disabled', false); if (addressHadFocus) { jQuery('#address-search').focus(); } jQuery('#waiting').hide(); } function searchByCurrentLocation() { if (jQuery('#waiting').is(":visible")) { return; } resetAddressSearch(); showWaitingForSearch(); if (navigator.geolocation) { navigator.geolocation.getCurrentPosition( (position) => { grecaptcha.enterprise.ready(function() { let action = "CollectionCurrentLocationSearch"; grecaptcha.enterprise.execute('6Lev-1UbAAAAAOvEL2sBxr2YAfdjqBXmILmWNoQC', {action: action}).then(function(token) { searchByLatLng(action, token, position.coords.latitude, position.coords.longitude); }); }); }, () => { doneWaitingForSearch(); jQuery('#waiting').hide(); handleLocationError(true, infoWindow, map.getCenter()); } ); } else { // Browser doesn't support Geolocation jQuery('#waiting').hide(); handleLocationError(false, infoWindow, map.getCenter()); } } jQuery('#current-location-button').click(function() { searchByCurrentLocation(); }) function searchByLatLng(action, token, lat, lng) { Visualforce.remoting.Manager.invokeAction( 'CollectionMapLookupController.getNearbySites', action, token, lat, lng, function (result, event) { if (event.status && event.result) { doneWaitingForSearch(); showResult(event.result); } else { doneWaitingForSearch(); jQuery('#result-table .result').remove(); jQuery('<tr class="result"><td colspan="2"><p><em>Server error. Please try again.</em></p></td></tr>').appendTo('#result-table'); } }, { escape: true } ); } function handleLocationError(browserHasGeolocation, infoWindow, pos) { infoWindow.setPosition(pos); infoWindow.setContent( browserHasGeolocation ? "Error: The Geolocation service failed." : "Error: Your browser doesn't support geolocation." ); infoWindow.open(map); } </script> <script async="async" src="https://maps.googleapis.com/maps/api/js?key=AIzaSyAD28F40N5JfssBqRAA-xzUNJBsolYWkvg&amp;callback=initMap&amp;libraries=&amp;v=weekly"></script><span id="pgid:j_id39"> <script src="/resource/1727900087000/TSW_Web/js/plugins/modernizr-2.8.3.min.js" type="text/javascript"></script> <script data-main="/resource/1727900087000/TSW_Web/js/main-built.js" src="/resource/1727900087000/TSW_Web/js/lib/require.js"></script> <script type="text/javascript"> function googleTranslateElementInit() { if ($('.search-icon').css('display') == 'none') { new google.translate.TranslateElement({pageLanguage: 'en', layout: google.translate.TranslateElement.InlineLayout.SIMPLE}, 'google_translate_element'); changeLanguageText(); } else { new google.translate.TranslateElement({pageLanguage: 'en', layout: google.translate.TranslateElement.InlineLayout.HORIZONTAL}, 'google_translate_element'); } } function changeLanguageText() { var el = $('.goog-te-menu-value span:first-child'); if (el.text() == 'Select Language') { $(el).html('English'); $('#google_translate_element').fadeIn('slow'); } else { setTimeout(changeLanguageText, 10); } } </script> <script src="//translate.google.com/translate_a/element.js?cb=googleTranslateElementInit" type="text/javascript"></script></span> <script async="async" src="https://resources.digital-cloud-west.medallia.com/wdcwest/12990/onsite/embed.js" type="text/javascript"></script><script type="text/javascript">Sfdc.onReady(function(){ SfdcApp && SfdcApp.Visualforce && SfdcApp.Visualforce.VSManager && SfdcApp.Visualforce.VSManager.vfPrepareForms(["pgid:j_id0:j_id1:j_id3","pgid:fmId"]); });</script></body></html>

Pages: 1 2 3 4 5 6 7 8 9 10