> For the complete documentation index, see [llms.txt](https://knowledgebase.ajaxsearchpro.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://knowledgebase.ajaxsearchpro.com/hooks/javascript-hooks/asp_search_html.md).

# asp\_search\_html

The HTML code, which is returned by the default live search feature.

```javascript
WPD.Hooks.applyFilters('asp_search_html', html, searchId, searchInstanceId);
```

#### Example

<pre class="language-javascript"><code class="lang-javascript"><strong>window.addEventListener("load", () => {
</strong><strong>	WPD.Hooks.addFilter('asp_search_html', function(html){
</strong>		return html.replace(
			"string", 
			"string_to_replace_with"
		));
	}, 10);
});
</code></pre>
