News

The primary function of this code is to display an example of a JavaScript implementation of user input. Specifically, it will prompt input from the user and get the input with the HTML alert prompt.
Integration of sweet alert becomes very easy with angular js. There is no need to write a single line of javascript code. Only few html attribute is enough to use sweetalert. sweet-options '{title: ...
The malicious code in question? An infinite loop that popped up an alert message, immediately showing a new message each time you click OK. Those curious to see the code can see it in action here ...