<!DOCTYPE html> <html lang=”en”> <head> <meta charset=”UTF-8″> <meta name=”viewport” content=”width=device-width, initial-scale=1.0″> <title>Tracking Page</title> </head> <body> <h2>Track Your Order</h2> <form action=”#” method=”get”> <label for=”trackingNumber”>Enter Tracking Number:</label><br> <input type=”text” id=”trackingNumber” name=”trackingNumber” required><br><br> <button type=”submit” id=”trackButton”>Track</button> </form> <script> // Function to handle form submission document.getElementById(“trackButton”).addEventListener(“click”, function(event){ event.preventDefault(); // Prevents form submission // Get the tracking number from the input field var trackingNumber = document.getElementById(“trackingNumber”).value; // Add your tracking website URL here var trackingWebsite = “https://www.17track.net/en=” + trackingNumber; // Navigate to the tracking website window.location.href = trackingWebsite; }); </script> </body> </html>
Please click button Track to track your order.