ARAI Mileage: 22.07 kmpl

98Nm@3000rpm
  • 22.07 kmpl
  • 72.41...
  • 4
Vehicle added!
The vehicle is already in the wishlist!
document.addEventListener('DOMContentLoaded', function () { // Get the select element and the input field const selectField = document.querySelector('select[name="Other"]'); // Replace with your select field name const otherInput = document.querySelector('input[name="Other"]'); // Replace with your input field name // Add an event listener for the select field selectField.addEventListener('change', function () { if (this.value === 'Other') { // Check if 'Other' is selected otherInput.disabled = false; // Enable the input field } else { otherInput.disabled = true; // Disable the input field otherInput.value = ''; // Clear the input field } }); });