empty input of clone jquery
$(document).ready(function() {
$(".Add").click(function() {
$(".formi")
.eq(0)
.clone()
.find("input").val("").end() // ***
.show()
.insertAfter(".formi:last");
});
$('.all').on('click', ".cancel", function() {
$(this).closest('.formi').remove();
});
});
Also in JavaScript:
- how to assign onEdit to specigfic tab
- generate random numbers in js
- get data from api in javascript
- insert property multiple documents mongodb
- react href
- angular emit output
- create angular project
- Image react native
- javascript atualize array
- react 17 hot reload not working
- javascript delete user input value in array
- js run html in blob
- AJAX in reload a div container
- react router last page
- jquery selector checked
- style an element with javascript
- cm to inches
- define value in js
- nodejs have db connection pool import module
- redux devtools with middleware
- how to count specific letters in string js
- javascript axios request with params for client side rendering
- get hash js
- destruct e.target.value param