If an idelement of an element is unknown, but its valueknown and idits parent is known, you can do the following:
Code ( Demo ):
<div id="payment">
<input id="RANDOM_GENERATED-1" type="checkbox" name="div[]" value="0" />
<label for="RANDOM_GENERATED-1">Pay Now by CC</label><br/>
<input id="RANDOM_GENERATED-2" type="checkbox" name="div[]" value="1" />
<label for="RANDOM_GENERATED-2">Pay Now by PayPal</label><br/>
<input id="RANDOM_GENERATED-3" type="checkbox" name="divo[]" value="2" />
<label for="RANDOM_GENERATED-3">Pay Later by Check</label><br/>
<input id="RANDOM_GENERATED-4" type="checkbox" name="divo[]" value="2"/>
<label for="RANDOM_GENERATED-4">Pay Later by Cash</label><br/>
</div>
, ( ), , 2
$('#payment').find("input[value=2]").each(function () {
$(this).remove();
$('label[for=' + $(this).attr('id') + ']').remove();
});