What do you want to save?
Add Code snippet
New code examples
-
Javascript 2022-03-15 15:15:11
wordpress ajax url
<?php add_action( 'wp_footer', 'my_ajax_without_file' ); function my_ajax_without_file() { ?> <script type="text/javascript" > jQuery(document).ready(function($) { ajaxurl = '<?php echo admin_url( 'admin-ajax.ph... Add solution -
Javascript 2022-03-11 14:30:09
mustache js how to use partials in html
example you have these in your html: <script type="text/html" id="ul-template"> <ul id="list"> {{> li-templ}} </ul> </script> <script type="text/html" id="ul-te... Add solution -
Javascript 2022-03-10 12:45:50
adminlte 3 toasts jquery
// This code has been barely documented. I sourced this from // the AdminLTE docs and by digging through the files // https://adminlte.io/docs/3.0/javascript/toasts.html // You need jQuery with AdminLTE for this code to work $(document).Toasts('create', ... Add solution