Flashdata with Sweetalert2 |
Hi All,
I have problem when I try to combine flashdata with Sweetalert2, Controller : PHP Code: public function social_settings_pro() View : PHP Code: <?php if ($this->session->flashdata('globalmsg')): ?> I get error like below, Code: Uncaught TypeError: Cannot read property 'querySelector' of null
@googlemy You are sure that the Sweetalert is working correctly?
For me the Codeigniter Code looks correct. Maybe first Test with: Code: <script type="text/javascript"> |
Welcome Guest, Not a member yet? Register Sign In |