<input type="text"><input type="button" value="+" onclick="nextSibling.insertBefore(document.createElement('div'),nextSibling.firstChild).appendChild(document.createTextNode(previousSibling.value))"><div><br></div>