Skip to content Skip to sidebar Skip to footer

Sweetalert - Call Function In Javascript

I'm using SweetAlert. http://tristanedwards.me/sweetalert For this I need to initialize the plugin ); script.src = "/path/to/the/other/file.js"; document.getElementsByTagName('script')[0].parentNode.appendChild(script); //for CSS file $('head').append('<link rel="stylesheet" href="your/cssfilelocation/filename.css" type="text/css" />');

In case you need to include jquery before sweetalert, use similar code to add jquery before it.

Post a Comment for "Sweetalert - Call Function In Javascript"