How can i split the string containing tag using jquery. I tried the following code but it get error in console. I am not sure how to split the strin
What if you try:
jQuery(document).ready(function($) { var lines = 'this is for testing How are you'.split(''); each(lines, function() { alert(this); }); });