I know I can add an element using javascript by:
document.createElement('input');
But I want to add it in a particular position of the document, like after the submit button, or after the textfield
I know I can add an element using javascript by: document.createElement(‘input’); But I want
Share
Try this out:
sis the element you want to put the new element after.This will place the new
inputafter the currentinput.Alternatively: