Hi Friends I have many Div's every div has few <li> there is a check-box in every <li> .I want if any check box is checked by user then others check box in others div's will be disable only check box which are siblings of checked check box will not be disabled 
As per my current code user can check any checkbox in any line which wrong as per my requirment .You can check my code below or check fiddle here
HTML
<ul id="gridFriend">
<li>
<div class="checkBox">
<input name="" type="checkbox" value="" />
</div>
<div class="pic"><a href="SendGifts.aspx?fnd=1053103047&fb=y&src=ALL"><img width="94" height="93" src="https://graph.facebook.com/1053103047/picture?width=94&height=93" alt=" "></a></div>
</li>
<li>
<div class="checkBox">
<input name="" type="checkbox" value="" />
</div>
<div class="pic"><a href="SendGifts.aspx?fnd=1053103047&fb=y&src=ALL"><img width="94" height="93" src="https://graph.facebook.com/1053103047/picture?width=94&height=93" alt=" "></a></div>
</li> </li>
<li>
<div class="checkBox">
<input name="" type="checkbox" value="" />
</div>
<div class="pic"><a href="SendGifts.aspx?fnd=1053103047&fb=y&src=ALL"><img width="94" height="93" src="https://graph.facebook.com/1053103047/picture?width=94&height=93" alt=" "></a></div>
</li>
<li>
<div class="checkBox">
<input name="" type="checkbox" value="" />
</div>
<div class="pic"><a href="SendGifts.aspx?fnd=1053103047&fb=y&src=ALL"><img width="94" height="93" src="https://graph.facebook.com/1053103047/picture?width=94&height=93" alt=" "></a></div>
</li>
</ul>
<ul id="gridFriend">
<li>
<div class="checkBox">
<input name="" type="checkbox" value="" />
</div>
<div class="pic"><a href="SendGifts.aspx?fnd=1053103047&fb=y&src=ALL"><img width="94" height="93" src="https://graph.facebook.com/1053103047/picture?width=94&height=93" alt=" "></a></div>
</li>
<li>
<div class="checkBox">
<input name="" type="checkbox" value="" />
</div>
<div class="pic"><a href="SendGifts.aspx?fnd=1053103047&fb=y&src=ALL"><img width="94" height="93" src="https://graph.facebook.com/1053103047/picture?width=94&height=93" alt=" "></a></div>
</li>
<li>
<div class="checkBox">
<input name="" type="checkbox" value="" />
</div>
<div class="pic"><a href="SendGifts.aspx?fnd=1053103047&fb=y&src=ALL"><img width="94" height="93" src="https://graph.facebook.com/1053103047/picture?width=94&height=93" alt=" "></a></div>
</li>
<li>
<div class="checkBox">
<input name="" type="checkbox" value="" />
</div>
<div class="pic"><a href="SendGifts.aspx?fnd=1053103047&fb=y&src=ALL"><img width="94" height="93" src="https://graph.facebook.com/1053103047/picture?width=94&height=93" alt=" "></a></div>
</li>
</ul>
SCRIPT
var mergeFriend = 0;
$('ul#gridFriend input').on('change', function () {
if ($(this).is(':checked')) {
mergeFriend++;
} else {
mergeFriend--;
}
if (mergeFriend >= 3) {
$('ul#gridFriend input:not(:checked)').attr("disabled", "disabled");
$('ul#gridFriend input:not(:checked)').closest('li').animate({opacity:'0.2'},1000);
//$('.blkSheet').css('display','block');
} else {
$('ul#gridFriend input:not(:checked)').removeAttr("disabled");
$('ul#gridFriend input:not(:checked)').closest('li').animate({opacity:'1'},200);
/*$('.friendMergeCont').animate({bottom:'-100px'},200)
$('.blkSheet').css('display','none');*/
}
/* $('.friendMergeCont span.close').click(function(){
$('.friendMergeCont').animate({bottom:'-100px'},200)
//$('.blkSheet').css('display','none');
}) */
/* if (mergeFriend == 2) {
$('.friendMergeCont').animate({bottom:'0'},200)
}else if (mergeFriend == 1) {
$('.friendMergeCont').animate({bottom:'-100px'},200)
} */
});
ul, better to change with class.