here is my javascript code
<script type="text/javascript">
function JSalert(){
swal({ title: "Are Your age 18+!",
type: "warning",
showCancelButton: true,
confirmButtonColor: "#009688",
confirmButtonText: "Yes, Iam 18+ !",
cancelButtonText: "No, I am not sure!",
closeOnConfirm: false,
closeOnCancel: false },
function(isConfirm){
if (isConfirm)
{
swal("Wellcome !", "Enjoy with us!", "success");
}
else {
swal("Hurray", "Please Go Back!", "error");
} });
}
</script>
when I reload this page ...Every time its seen:
Can anyone help me to see it One Time !!
` elements. – Luca Kiebel Sep 04 '18 at 16:12