I clone <Div> and after refresh it disapper and page comes to its real state.
When i click on (
address_deatils_dropdown {
id of button} ) button it clone the div element but when refresh the page the . It disappear and goes to its original state.
(address_inputs {id of div to be clone})
this is my code
$(function () {
$("#address_details_dropdown").click(function (e) {
e.preventDefault();
$('#address_inputs').clone().insertAfter("#address_inputs").find("input[type='text']").val("");
})
});
Thanks