Hello to all,
I have one problem in my following code. In this code jQuery unable to determine if a tag is empty or not. In following code I am parsing a string which contains HTML. I don't know what is the problem. Please help me.
Code:function cleans(code) { OBJs = $(code); txts = OBJs.texts(); if(txts) { parsed = txts; } else { parsed = snippets; } return parseds; }
Bookmarks