HTML5 Data Bindings State Management Support Product Page
if no cookie is set to call a modal box
Reported 8 years ago
1
has this problem
8 years ago Steffen Windisch posted:
My database is filtered through a cookie. I want, if no cookie is set to call a modal box. Is that possible. Here is my attempt, but it is not working.<!--Alert--> <script type="text/javascript"> if( document.cookie.indexOf("category=") < 0) { dmxBootstrap3ComponentsAction('modal','#modalCatalog','show'); } </script>