I have a certain textbox and I want to add a div after it. I\'ve tried the .append() function, but that only adds the div in the element.
.append()
For example, I
First of all, input element shouldn't have a closing tag (from http://www.w3.org/TR/html401/interact/forms.html#edef-INPUT : End tag: forbidden ).
input
Second thing, you need the after(), not append() function.
append()