Jquery How to push the data, using find?
<p>i have no.of <code>li</code> element which has the class name as <code>c_on</code>, i need to get all this <code>li</code>'s attribute and need to push in to array. for this, i did like this, but no result, any one know the good way to do this?</p>

<pre><code>var pushEmpl = [];    
pushEmpl.push($('.demographics').find('ul.ocptn').find($('li.c_on')).each(function(){ return $(this).attr('data-ocp')}));
</code></pre>

<p>but it not getting the result. any other way to push this?</p>
