JSFiddle

  • Basic Usage - Bump Checkmark

    jQuery 3.1.1, HTML, CSS, JavaScript

    var ss = jQuery.LiveAddress({
      key: '8140491234758226',
      waitForStreet: true,
      debug: true,
      target: "US",
      addresses: [{
        country: "#country",
        address1: "#street",
        locality: "#city",
        administrative_area ...
  • Basic Usage - Submit Button

    jQuery 3.1.1, HTML, CSS, JavaScript

    var ss = jQuery.LiveAddress({
      key: '8140491234758226',
      waitForStreet: true,
      debug: true,
      target: "US",
      addresses: [{
        country: "#country",
        address1: "#street",
        locality: "#city",
        administrative_area ...
  • Pre filled - only verify when clicking on the street field

    jQuery 3.1.1, HTML, CSS, JavaScript

    $("#country").val("USA").change();
    $("#street").val("1402 W Center St").change();
    $("#city").val("Orem").change();
    $("#state").val("UT").change();
    
    var ...
  • Re-mapping example

    jQuery 3.1.1, HTML, CSS, JavaScript

    var ss = jQuery.LiveAddress({
      key: '8140491234758226',
      waitForStreet: true,
      debug: true,
      target: "US|International",
      addresses: [{
        id: "myMapping",
        address1: "#street",
        locality: "#city ...
  • 2 Forms

    jQuery 3.1.1, HTML, CSS, JavaScript

    var ss = jQuery.LiveAddress({
      key: '8140491234758226',
      waitForStreet: true,
      debug: true,
      target: "US",
      addresses: [{
        address1: "#street",
        locality: "#city",
        administrative_area: "#state",
        postal_code ...
  • Dynamic second address line

    jQuery 3.1.1, HTML, CSS, JavaScript

    var ss = jQuery.LiveAddress({
      key: '8140491234758226',
      waitForStreet: true,
      verifySecondary: true,
      debug: true,
      target: "US",
      addresses: [{
        address1: "#street",
        address2: "#street2",
        locality ...
  • Basic Usage

    Always Prompt for Secondary Number

    var ss = jQuery.LiveAddress({
        key: '8140491234758226',
        waitForStreet: true, 
        verifySecondary: true,
        debug: true,
        target: "US",
        addresses: [{
        	address1: "#street",
          locality: "#city",
          administrative_area ...
  • International Autocomplete

    BETA

    // https://smartystreets.com/account#keys
    var id = "8140491234758226";
    
    (function (window, $) {
    	if (!$)
    		return;
    
    	var AUTOCPL_API_ENDPOINT = "https://international-autocomplete.api.smartystreets.com/lookup ...
  • Smarty Checkmark on new line

    jQuery 3.1.1, HTML, CSS, JavaScript

    var ss = jQuery.LiveAddress({
        key: '8140491234758226',
        waitForStreet: true, 
        debug: true,
        target: "US",
        addresses: [{
        	address1: "#street",
          locality: "#city",
          administrative_area: "#state",
          postal_code ...
  • Valid Autocomplete Suggestions

    jQuery 3.1.1, HTML, CSS, JavaScript

    var lookupCount = 0;
    
    var key = '8140491234758226'
    
    var ss = jQuery.LiveAddress({
      key: key,
      waitForStreet: true,
      geolocate: false,
      autocomplete: 50,
      target: "US ...