i have this as next and back button
This is the next button:
$(document).on('click', '#next_form', function () {
emailAdress = $("#email").val();
$(".column_1").flip({
direction: 'rl',
});
$(".column_2").flip({
direction: 'lr',
});
});
back button: Then so i can revert the flip and insert the value again :
$(document).on('click', '#back_form', function () {
$(".column_1").revertFlip();
$(".column_2").revertFlip();
$("#email").val(emailAdress);
console.log(emailAdress);
});
but the input field is not displaying the value when i console log it seems to be running perfect but it does display... any ideas why?