# 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>
