homepage | banner | top header
homepage | banner | top header | responsive
// Select the first submit button // Function to get the current input value // Function to open a URL in a new tab // Add onclick event listener to the first submit button event.preventDefault(); // Prevent the default action of the submit button // Get the current input value at the moment the button is clicked // Construct the new URL using the current input value // Open the new URL in a new tab // Call the function immediately to handle the initial state // Check again every 500 milliseconds
شما هنوز محصولی را به لیست مورد علاقه اضاف نکردید!