Search
 
SCRIPT & CODE EXAMPLE
 

JAVASCRIPT

sweetalert allow html

<script>
  Swal.fire({ 
      html: "Hello, <strong>world!</strong>"
  });
</script>
Comment

sweetalert example

//import sweetalert
<script src="https://unpkg.com/sweetalert/dist/sweetalert.min.js"></script>

//Alert
<script>swal("My title", "My description", "success");</script>
Comment

sweetalert js full code

<script>
  // when window loades this alert pop ups 
        swal({
      text: "Hello world!",
           }     );
    </script>
Comment

PREVIOUS NEXT
Code Example
Javascript :: using datatable 
Javascript :: arrow function javascript 
Javascript :: reduce method in javascript array of bjects 
Javascript :: how to compare previous value with current in jquery 
Javascript :: how to use data sets javascrip[t 
Javascript :: get a header from postman repsonse 
Javascript :: discord delete message 
Javascript :: vue directive 
Javascript :: sort list of objects by value node js 
Javascript :: axios post request progress 
Javascript :: Check if instance is array 
Javascript :: const name value = event.target 
Javascript :: javascript cookies vs session vs local storage 
Javascript :: express cookieparser 
Javascript :: get index of selector jquery 
Javascript :: react native update state object inside object 
Javascript :: date picker type react 
Javascript :: use of this keyword in js 
Javascript :: firebase get last document 
Javascript :: prepend to js array 
Javascript :: how to set expire time of jwt token in node js 
Javascript :: express mysql sessions 
Javascript :: javascript check negative number 
Javascript :: download file in react 
Javascript :: nodejs sequelize find 
Javascript :: javascript on focus 
Javascript :: get element of selection javascript 
Javascript :: uncaught exception javascript 
Javascript :: for item loop 
Javascript :: nuxt custom plugin 
ADD CONTENT
Topic
Content
Source link
Name
3+7 =