You can open browser console (usually Ctrl+Shit+j) and try Swal.fire('Hello world!') How do you plan to use it?
On Friday, February 15, 2019 at 8:21:01 PM UTC+3, Ben Duncan wrote: > > How would I go about implementing and using sweetalery in web2py? > see: > https://sweetalert2.github.io/ > > I've made the following entries in web2py_ajax.html: > {{ > response.files.insert(0,URL('static','js/jquery.js')) > response.files.insert(1,URL('static','css/calendar.css')) > response.files.insert(2,URL('static','js/calendar.js')) > response.files.insert(3,URL('static','js/web2py.js')) > response.files.insert(4,URL('static','css/sweetalert2.css')) > response.files.insert(5,URL('static','js/sweetalert2.all.js')) > response.include_meta() > response.include_files() > }} > > So what Do I need to do next ? > > (Forgive please I'm just starting on the javascript side of things ...) > > Thanks .. > > *Ben Duncan* > DBA / Chief Software Architect > Mississippi State Supreme Court > Electronic Filing Division > -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Report Issues) --- You received this message because you are subscribed to the Google Groups "web2py-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to web2py+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.