Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

how to identify the li anchor tag text is empty in javascript

$("li").find("a[href=''], a[href='javascript:;'], a:not([href])").closest('li').link.style.display = "none";
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #identify #li #anchor #tag #text #empty #javascript
ADD COMMENT
Topic
Name
4+7 =