DOM-based XSS

Code

$('#replacePlaceholder').html(document.getElementById('searchInput').value);

Demo

Here is the value of the input: ()