Discover luxury with maximum driving comfort and exceptional performance with the new range of Škoda cars. Check out the prices of the most awaited Škoda cars now.
Variant
Ex-Showroom Price
On-road Price
`;
} else {
transmissionRow.innerHTML = `
`;
}
});
document.getElementById("priceCheckForm").addEventListener("submit", function(e) {
e.preventDefault();
// Get selected values
const model = document.getElementById("model-select").value;
const transmission = document.querySelector('input[name="transmission"]:checked');
// Validate that both options are selected
if (!model) {
alert("Please select a car model.");
return;
}
if (!transmission) {
alert("Please select a transmission type.");
return;
}
// Display the dynamic table based on model and transmission type
const tableBody = document.getElementById("tableBody");
tableBody.innerHTML = ""; // Clear the table before adding new data
// Slavia Data Starts
if (model === "slavia" && transmission.value === "manual") {
document.getElementById("variant-heading").innerText = "Slavia Variant";
addTableRow(tableBody, "Classic(Active) 1.0 TSI 6AB", "₹ 10 69 000", "Request On-Road Price");
addTableRow(tableBody, "Classic(Active) 1.0 TSI 2AB", "₹ 10 49 000", "Request On-Road Price");
addTableRow(tableBody, "Signature (Ambition) 1.0 TSI 6AB", "₹ 13 99 000", "Request On-Road Price");
addTableRow(tableBody, "Prestige(Style)1.0 TSI 6AB", "₹ 15 99 000", "Request On-Road Price");
addTableRow(tableBody, "Signature(Ambition) 1.0 TSI V", "₹ 13 79 000", "Request On-Road Price");
addTableRow(tableBody, "Signature(Ambition) 1.5 TSI 6AB", "₹ 15 49 000", "Request On-Road Price");
addTableRow(tableBody, "Prestige(Style)1.5 TSI 6AB", "₹ 17 49 000", "Request On-Road Price");
} else if (model === "slavia" && transmission.value === "automatic") {
document.getElementById("variant-heading").innerText = "Slavia Variant";
addTableRow(tableBody, "Prestige(Style)1.5 TSI 6AB", "₹ 18 69 000", "Request On-Road Price");
addTableRow(tableBody, "Signature (Ambition) 1.0 TSI 6AB", "₹ 15 09 000", "Request On-Road Price");
addTableRow(tableBody, "Signature (Ambition) 1.0 TSI 2AB", "₹ 14 89 000", "Request On-Road Price");
addTableRow(tableBody, "Prestige(Style)1.0 TSI 6AB", "₹ 17 09 000", "Request On-Road Price");
addTableRow(tableBody, "Signature(Ambition) 1.5 TSI 6AB", "₹ 16 69 000", "Request On-Road Price");
// Slavia Data Ends
// Kushaq Data Starts
} else if (model === "kushaq" && transmission.value === "manual") {
document.getElementById("variant-heading").innerText = "Kushaq Variant";
addTableRow(tableBody, "Classic(Active)1.0 TSI 6AB", "₹ 10 89 000", "Request On-Road Price");
addTableRow(tableBody, " Signature (Ambition) 1.0 TSI 6AB", "₹ 14 19 000", "Request On-Road Price");
addTableRow(tableBody, " Signature (Ambition) V 1.0 TSI 2AB", "₹ 13 99 000", "Request On-Road Price");
addTableRow(tableBody, " Prestige(Style)1.0 TSI 6AB", "₹ 16 09 000", "Request On-Road Price");
addTableRow(tableBody, " Monte Carlo 1.0TSI 6AB", "₹ 15 59 000", "Request On-Road Price");
addTableRow(tableBody, " Signature (Ambition) 1.5 TSI 6AB", "₹ 15 69 000", "Request On-Road Price");
addTableRow(tableBody, " Prestige(Style)1.5 TSI 6AB", "₹ 17 59 000", "Request On-Road Price");
addTableRow(tableBody, " Monte Carlo 1.5TSI 6AB", "₹ 17 09 000", "Request On-Road Price");
} else if (model === "kushaq" && transmission.value === "automatic") {
document.getElementById("variant-heading").innerText = "Kushaq Variant";
addTableRow(tableBody, "Monte Carlo 1.5TSI 6AB", "₹ 18 29 000", "Request On-Road Price");
addTableRow(tableBody, "Onyx 1.0 TSI 6AB", "₹ 13 49 000", "Request On-Road Price");
addTableRow(tableBody, " Signature (Ambition) 1.0 TSI ", "₹ 15 29 000", "Request On-Road Price");
addTableRow(tableBody, " Signature (Ambition) 1.0 TSI ", "₹ 15 09 000", "Request On-Road Price");
addTableRow(tableBody, " Prestige(Style)1.0 TSI 6AB ", "₹ 17 19 000", "Request On-Road Price");
addTableRow(tableBody, " Monte Carlo 1.0TSI 6AB ", "₹ 16 69 000", "Request On-Road Price");
addTableRow(tableBody, " Signature (Ambition) 1.5 TSI 6AB ", "₹ 16 89 000", "Request On-Road Price");
addTableRow(tableBody, " Prestige(Style)1.5 TSI 6AB ", "₹ 18 79 000", "Request On-Road Price");
} else if (model === "kodiaq" && transmission.value === "automatic") {
document.getElementById("variant-heading").innerText = "Kodiaq Variant";
addTableRow(tableBody, "L&K 2.0 TSI ", "₹ 39 99 000", "Request On-Road Price");
} else if (model === "superb" && transmission.value === "automatic") {
document.getElementById("variant-heading").innerText = "Superb Variant";
}
// Show the dynamic table
document.getElementById("dynamicTable").classList.remove("hidden");
});
function addTableRow(tableBody, variant, exShowroomPrice, onRoadPrice) {
const row = document.createElement("tr");
row.innerHTML = `