Delivery Ko Guarantee
Check delivery availability and estimated delivery time instantly
(function(){
const data = [
{city:”Kathmandu Valley”, zone:”Ason”, area:”Ason”, guarantee:”0 – 1 Day”},
{city:”Kathmandu Valley”, zone:”Thamel”, area:”Thamel”, guarantee:”0 – 1 Day”},
{city:”Kathmandu Valley”, zone:”Chakrapath”, area:”Chakrapath”, guarantee:”0 – 1 Day”},
{city:”Kathmandu Valley”, zone:”Balaju”, area:”Balaju”, guarantee:”0 – 1 Day”},
{city:”Kathmandu Valley”, zone:”Bhangal”, area:”Bhangal”, guarantee:”0 – 1 Day”},
{city:”Kathmandu Valley”, zone:”Siddhapokhari”, area:”Siddhapokhari”, guarantee:”0 – 1 Day”},
{city:”Pokhara”, zone:”Lakeside”, area:”Lakeside”, guarantee:”1 – 2 Days”},
{city:”Pokhara”, zone:”Chipledhunga”, area:”Chipledhunga”, guarantee:”1 – 2 Days”}
];
function render(list){
const body = document.getElementById(“tableBody”);
body.innerHTML = “”;
list.forEach(item=>{
body.innerHTML += `
| ${item.city} |
${item.zone} |
${item.area} |
${item.guarantee} |
`;
});
document.getElementById(“resultCount”).innerText = “● ” + list.length + ” Results”;
}
window.searchData = function(){
const q = document.getElementById(“searchBox”).value.toLowerCase();
const filtered = data.filter(d =>
d.city.toLowerCase().includes(q) ||
d.zone.toLowerCase().includes(q) ||
d.area.toLowerCase().includes(q)
);
render(filtered);
}
window.resetData = function(){
document.getElementById(“searchBox”).value = “”;
render(data);
document.getElementById(“resultCount”).innerText = “● Ready”;
}
render(data);
})();