Javascript - Webmasters - Nairaland
Nairaland Forum › Science/Technology › Webmasters › Javascript (298 Views)
1 Reply
| Javascript by codelove(op): 2:20pm On May 04, 2017 |
please i have a problem,i create new input field when a button is click,but i want each of the new create field to have a unique id,so i can use it for calculation in javascript. function create(){ var newinput = document.createElement('input'); newinput.placeholder = "test1"; document.getElementById("mytest" .appendChild(newinput);} |
Please I Need Help With This Javascript Issue • #get Responsive Website Developed Fast In Short Time. #php, #javascript.... • Get Paid Writing HTML And Javascript Codes Only • 2 • 3 • 4
FANTASTIC 5 (get In...) • How To Create Your Own Info-product. • Get A Steady Income Forever With My Liberty Package...earn Till Eternity
.appendChild(newinput);