JSFiddle - React, Tailwind, and code Playground

by vicky081

JavaScript

jQuery(document).ready(function($)
        {
            var lines = jQuery('this is for testing <br/> How are you<br/>').split('<br/>');
            jQuery.each(lines, function() {
                alert(lines);
            });
        });