Can we use function in find..??

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • user7777
    New Member
    • Sep 2014
    • 6

    Can we use function in find..??

    Code:
    $('div').find('.productInCart',function(){
    var menuId = $(this).attr("id").split("_")[1];
    if(windowWidth < 769) {
    $('#single_addon_'+menuId).hide();						}else {							$('#single_addon_'+menuId).show();
    }
    });
    Can we use find in this way.
Working...