I am new to jQuery, and I have some needs on my website. I want to show the jQuery div popup at the first time only when the user comes. No need to show again and again.
You may use SessionStorage or LocalStorage for this as per your need.
If you need to do only for that session, use SessionStorage. If it should be stored permanently in the user's browser, use LocalStorage.
$(document).ready(function(){
if(sessionstorage && !sessionStorage.getItem('isshow')){
$('#jPopup').show();
sessionStorage.setItem('isshow', true);
}
});