Skip to main content
King County logo

The list of candidates on the November 5, general election ballot will be available by August 23, 2019. You can view the list of candidates who have filed beginning on May 13.

TTY: Relay 711

Sign up for email or text notifications

/* PW CUSTOM CODE */ // emailOrPhone(); One input that detects whether email or phone number was entered function emailOrPhone() { var email = document.getElementById('emailphone'); var inVal = email.value; var phone = document.getElementById('phone').value = inVal; var emailIn = document.getElementById('emailIn').value = inVal; var mailFormat = /^([a-zA-Z0-9_\.\-])+\@(([a-zA-Z0-9\-])+\.)+([a-zA-Z0-9]{2,4})+$/; var phoneRegex = /^[(]{0,1}[0-9]{3}[)]{0,1}[-\s\.]{0,1}[0-9]{3}[-\s\.]{0,1}[0-9]{4}$/; if (mailFormat.test(inVal)) { $('#emph-btn').attr('data-target','#myModal1'); } else if (phoneRegex.test(inVal)) { $('#emph-btn').attr('data-target','#myModal2'); } else { $('#emph-btn').attr('data-target','#myModal3'); } $("#push-btn").click(function(){ $("#push-btn").attr("href", "https://public.govdelivery.com/accounts/WAKING/subscriber/new.html?code=WAKING&login=" + inVal); }); return $(".jcontent").html(inVal);// var in model box } $("#emph-btn").click(function(){ emailOrPhone();; }); // panelScroll(); line list-items to Left of screen when panel-header clicked function panelScroll() { var scrollArea = $('.navbar-sm'); var toScroll = $('.panel'); toScroll.each(function() { var clicked = $(this); clicked.on('click', function () { var leftOffset = clicked.offset().left-0 - scrollArea.offset().left-0 + scrollArea.scrollLeft(); // .left-20 for padding scrollArea.animate({ scrollLeft: leftOffset }, 800); }); }); } panelScroll();