> 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_live_load_html.md).

# asp\_live\_load\_html

The HTML code, which is returned by the [results page live loader feature](https://documentation.ajaxsearchpro.com/behavior/results_page_live_loader).

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

#### Example

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