This file contains 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($) { | |
var dom; | |
var link1Content = 'Smithfield<br><span class="dynamic-phone-number ws-dynamic-number" data-number-type="sales">844-457-1764</span>'; | |
var link2Content = 'Goldsboro<br><span class="dynamic-phone-number ws-dynamic-number" data-number-type="sales">919-736-2900</span>'; | |
var newLinkMarkup = '<a class="btn btn-success btn-block btn-lg track-click event-click ws-dynamic-number" data-action="Sales" data-adsolconv="call_initiated" data-category="Click to Call" data-label="Mobile" data-number-type="sales" data-text-prepend="Call Sales: " href="tel:888-566-7306">Clinton<br><span class="dynamic-phone-number ws-dynamic-number" data-number-type="sales">888-566-7306</span></a>'; | |
var cacheDom = function() { | |
dom = {}; |
This file contains 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
// our standard ajax response format (response from server) | |
{ | |
"status": 0, // 0 for failed, 1 for success | |
"detail": "ERROR_INVALID_EMAIL", // if necessary, additional detail about the error | |
"msg": "Please enter a valid email address, kind sir!" // message to present to the user | |
} |
This file contains 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
<!doctype html> | |
<html> | |
<head> | |
<meta name="viewport" content="width=device-width, initial-scale=1"> | |
<style> | |
body { | |
padding: 20px; |
This file contains 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
yo |