hip1/po/index.php

<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>Document</title> <link href="cssmap/design.css" rel="stylesheet"> <script src="js/ajax.js"></script> <script> window.onload = start; function start(){ document.getElementById('filter').oninput = list; } function list(){ var filterField = document.getElementById('filter') var filterText = filterField.value ajax('list.php?filtertext='+filterText,'resultlist') } </script> </head> <body> <div id='maindiv'> <?php include("../db.php"); echo "<p><span class='label'>Search :</span> <input type='text' name='textfield' id='filter'> <span class='info'>"; echo "</span></p>"; ?> <div id='resultlist'></div> <!-- <div id='container'> <div id='right'> <div id='ajax'> <h3 align="center">A.J.A.X.</h3> <p align="right"><input type="checkbox" id='alertRespons'>Alert antwoord</p> <div id='ajaxtext'></div> </div> </div> </div> <input type='hidden' id='band' value=''></input> <input type='hidden' id='member' value=''></input> --> </body> </html>

Resultaat

Made by Thijs Aarnoudse