Enable Your Employees To Focus On The Core With Intuitive Onscreen Guidance That is With You At The Moment of Need.
//this gets the div tag that I am appending the button to. var sButton = document.getElementById("sbt"); //this creates my button var submitting = document.createElement('button'); submitting.setAttribute("name", "Submit"); submitting.setAttribute("type", "submit"); submitting.setAttribute("value","Submitted"); //this appends the button to the div sButton.appendChild(submitting); //this is the html code for the div <div id = "sbt"></div>
Add your voice to the tech community where 5M+ people just like you are talking about what matters.
Join the community of 500,000 technology professionals and ask your questions.