{"id":844,"date":"2025-03-01T22:24:15","date_gmt":"2025-03-01T22:24:15","guid":{"rendered":"https:\/\/www.foda.org.uk\/site\/?page_id=844"},"modified":"2025-03-03T19:29:18","modified_gmt":"2025-03-03T19:29:18","slug":"tithe-search-2","status":"publish","type":"page","link":"https:\/\/www.foda.org.uk\/site\/tithe-search-2\/","title":{"rendered":"Tithe Apportionments Project Search"},"content":{"rendered":"\n<div class=\"wp-block-group custom-full-width\"><div class=\"wp-block-group__inner-container is-layout-flow wp-block-group-is-layout-flow\">\n<div class=\"wp-block-group custom-full-width-content\"><div class=\"wp-block-group__inner-container is-layout-flow wp-block-group-is-layout-flow\">\n<p>To search the <strong>Tithe Apportionments Project<\/strong> Database, type your search query in one of the fields below. Please note, you can only conduct one search at a time.<\/p>\n<\/div><\/div>\n<\/div><\/div>\n\n\n\n\n<div class=\"search-btns-container\">\n<button class=\"tithe-search-btn\" id=\"tithe-name-btn\">Name<\/button>\n<button class=\"tithe-search-btn\" id=\"tithe-parish-btn\">Parish<\/button>\n<button class=\"tithe-search-btn\" id=\"tithe-holding-btn\">Holding<\/button>\n<\/div>\n<section class=\"tithe-search-container\">\n<div class=\"tithe-search-fields\">\n<label id=\"tithe-name-label\" class=\"tithe-label\">Search by Name\n<input type=\"text\" id=\"name_search\" placeholder=\"John Smith\">\n<\/label>\n\n<label id=\"tithe-parish-label\" class=\"tithe-label\">Search by Parish\n<input type=\"text\" id=\"parish_search\" placeholder=\"Exmouth\">\n<\/label>\n\n<label id=\"tithe-holding-label\" class=\"tithe-label\">Search by Holding\n<input type=\"text\" id=\"holding_search\" placeholder=\"Barn House\">\n<\/label>\n<\/div>\n<div class=\"tithe-search-results\"><\/div>\n<\/section>\n<script>\nconst elems = [...document.getElementsByClassName('tithe-label')];\nelems.forEach(item => item.style.display = 'none');\ndocument.addEventListener('click', function (e) {\n    if (\n        e.target.id === 'tithe-name-btn' ||\n        e.target.id === 'tithe-parish-btn' ||\n        e.target.id === 'tithe-holding-btn'\n    ) {\n        let type = e.target.id.split('-')[1];\n        const elems = [...document.getElementsByClassName('tithe-label')];\n        elems.forEach(item => item.style.display = 'none');\n        document.getElementById(`tithe-${type}-label`).style.display = 'flex';\n    }\n})\n<\/script>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>To search the Tithe Apportionments Project Database, type your search query in one of the fields below. Please note, you can only conduct one search at a time. Name Parish Holding Search by Name Search by Parish Search by Holding<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-844","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/www.foda.org.uk\/site\/wp-json\/wp\/v2\/pages\/844","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.foda.org.uk\/site\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/www.foda.org.uk\/site\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/www.foda.org.uk\/site\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.foda.org.uk\/site\/wp-json\/wp\/v2\/comments?post=844"}],"version-history":[{"count":22,"href":"https:\/\/www.foda.org.uk\/site\/wp-json\/wp\/v2\/pages\/844\/revisions"}],"predecessor-version":[{"id":904,"href":"https:\/\/www.foda.org.uk\/site\/wp-json\/wp\/v2\/pages\/844\/revisions\/904"}],"wp:attachment":[{"href":"https:\/\/www.foda.org.uk\/site\/wp-json\/wp\/v2\/media?parent=844"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}