Skip to content

Instantly share code, notes, and snippets.

@EricDu
EricDu / form-content.html
Last active July 31, 2021 23:37 — forked from alexmustin/form-content.html
WordPress AJAX Live Search of Post Title
<!-- // The HTML (could be part of page content) // -->
<input type="text" name="keyword" id="keyword" placeholder="Search" onkeyup="fetch()">
<div id="datafetch">Search results will appear here</div>