Widget: Homepage: Difference between revisions

From LINKS Community Center
Jump to: navigation, search
Eschmidt (talk | contribs)
No edit summary
Eschmidt (talk | contribs)
No edit summary
Line 109: Line 109:
         function search(event) {
         function search(event) {
             event.preventDefault();
             event.preventDefault();
             console.log(event)
            const val = document.getElementById('hp-search-input').value;
             console.log(value)
         }
         }
     </script>
     </script>
Line 128: Line 129:
         <div id="hp-main">
         <div id="hp-main">
             <form class="hp-search" onsubmit="search(event)">
             <form class="hp-search" onsubmit="search(event)">
                 <input class="form-control form-control-lg" type="text" placeholder="Search">
                 <input id="hp-search-input" class="form-control form-control-lg" type="text" placeholder="Search">
             </form>
             </form>



Revision as of 13:59, 20 June 2022

Development verstion of the DCT Homepage.
Not ready for production!