Close

    Electoral Roll 2006

    -- Select AC -- 01.Purola 02.Yamunotri 03.Gangotri 04.Pratapnagar 05.Tehri 06.Ghanshali 07.Devprayag 08.Narendra Nagar 09.Dhanaulti 10.Chakrata 11.Vikasnagar 12.Sahaspur 13.Laxman Chowk 14.Dehradun 15.Rajpur 16.Mussoorie 17.Rishikesh 18.Doiwala 19.Bhagwanpur 20.Roorkee 21.Iqbalpur 22.Manglore 23.Landora 24.Laksar 25.Bahadrabad 26.Haridwar 27.Laldhang 28.Yamkeshwar 29.Kotdwar 30.Dhumakot 31.Bironkhal 32.Lansdowne 33.Pauri 34.Srinagar 35.Thalisain 36.Rudraprayag 37.Kedarnath 38.Badrinath 39.Nandprayag 40.Karnprayag 41.Pindar 42.Kapkot 43.Kanda 44.Bageshwar 45.Dwarahat 46.Bhikyasain 47.Salt 48.Ranikhet 49.Someshwar 50.Almora 51.Jageshwar 52.Mukteshwar 53.Dhari 54.Haldwani 55.Nainital 56.Ramnagar 57.Jaspur 58.Kashipur 59.Bajpur 60.Pantnagar-Gadarpur 61.Rudrapur-Kichha 62.Sitarganj 63.Khatima 64.Champawat 65.Lohaghat 66.Pithoragarh 67.Gangolihat 68.Didihat 69.Kanalichina 70.Dharchula
    -- Select Booth --
    function loadBooths() { const ac = document.getElementById('acSelect').value; const boothDropdown = document.getElementById('boothSelect'); boothDropdown.innerHTML = '-- Select Booth --'; fetch(`roll2006/${ac}/`) .then(response => response.text()) .then(html => { const tempDiv = document.createElement('div'); tempDiv.innerHTML = html; const links = tempDiv.querySelectorAll('a'); links.forEach(link => { const fileName = link.getAttribute('href'); if (/^P\d{7}\.pdf$/i.test(fileName)) { const boothNum = fileName.substring(4, 8).replace(/^0+/, ''); const option = document.createElement('option'); option.value = fileName; option.text = 'Booth ' + boothNum; boothDropdown.appendChild(option); } }); }); } function showPDF() { const ac = document.getElementById('acSelect').value; const booth = document.getElementById('boothSelect').value; if (ac && booth) { const url = 'http://localhost:8081/roll2006/' + ac + '/' + booth; const viewer = document.getElementById('pdfViewer'); viewer.src = url; viewer.style.display = 'block'; } else { alert('Please select both AC and Booth.'); } }