JSFiddle - React, Tailwind, and code Playground

HTML

<script src="http://knockoutjs.com/downloads/knockout-2.2.1.js"></script>
<div class="formElement" id="debtors">
                <label> Debtors</label>
    <input type="text" name="debtors" />
                <button id="btnClicker" onclick="test()">Append list items</button>
            </div>

JavaScript

var clicked = 0;
                    	$("#btnClicker").click(function(){
                    	    clicked++;
                    	    $("#debtors").append("<input type=\"text\" name=\"test"+clicked+"\" value=\"test\" />");
                    	  });