jQuery : check if label by a specific name exists
javascript, jquery
Solution
Try This in condition loop -- $('label[name="label_name"]').length
Problem
check if label by a specific name exists, Say if i want to find if such label exists ``` <label onClick='javascript:someMethod()' name="label_name">*some text*</label> ``` if so then i need to implement some code.