I want to manipulate the HTML code (a link target), depending on the value of a form input. As soon as the value of the input is changed by the user, I want the value of the link target to be updated.
<a href="/#SINGULAR/.htm">foo</a>
<input type="text" name="singular" id="singular">
<script>
$('#singular').on('input', function() {
//Change the link HREF.
});
</script>