Zip Button test

Size
1,932 Kb
Views
40,480

How do I make an zip button test?

What is a zip button test? How do you make a zip button test? This script and codes were developed by Leanne Entwistle on 07 July 2022, Thursday.

Zip Button test Previews

Zip Button test - Script Codes HTML Codes

<!DOCTYPE html>
<html >
<head> <meta charset="UTF-8"> <title>Zip Button test</title>
</head>
<body> <div class="row"> <div class="col-lg-6 col-md-6 col-sm-8 col-xs-12 col-lg-offset-3 col-md-offset-3 col-sm-offset-2 text-center"> <input type="tel" class="ignore-css btn btn-primary" placeholder="ENTER ZIPCODE" id="zipcode2" style="background-color: rgba(255,255,255,0.25);border:3px solid black;border-radius:15px;font-size:24px;margin-bottom:30px;padding:20px;width:85%;max-width:500px"> </div>
</div>
<div class="row"> <div class="col-lg-6 col-md-6 col-sm-8 col-xs-12 col-lg-offset-3 col-md-offset-3 col-sm-offset-2 text-center"> <button onclick="goWeather()" class="ignore-css btn btn-primary vibrate btn-custom" style="color:#ffffff;background-color:#6fd5f1;border:3px solid white;border-radius:15px;color:white;font-size:24px;margin-bottom:30px;padding:20px;width:85%;max-width:500px">GET LOCAL ALERTS</button>
</div> </div> <script src='http://ajax.googleapis.com/ajax/libs/jquery/1.5.1/jquery.min.js'></script> <script src="js/index.js"></script>
</body>
</html>

Zip Button test - Script Codes JS Codes

function goWeather() { var zip = $('#zipcode2').val(); if (zip == '') { $.ajax({ url: "http://ip-api.com/json/", dataType: "jsonp", success: function (parsed_json) { zip = parsed_json['zip']; alert("/Content/Outlook?zip=" + zip + "&[email protected]"); } }); } else { alert("/Content/Outlook?zip=" + zip + "&[email protected]"); } }
Zip Button test - Script Codes
Zip Button test - Script Codes
Home Page Home
Developer Leanne Entwistle
Username lje7462
Uploaded July 07, 2022
Rating 3
Size 1,932 Kb
Views 40,480
Do you need developer help for Zip Button test?

Find the perfect freelance services for your business! Fiverr's mission is to change how the world works together. Fiverr connects businesses with freelancers offering digital services in 500+ categories. Find Developer!

Leanne Entwistle (lje7462) Script Codes
Create amazing SEO content with AI!

Jasper is the AI Content Generator that helps you and your team break through creative blocks to create amazing, original content 10X faster. Discover all the ways the Jasper AI Content Platform can help streamline your creative workflows. Start For Free!