<div id="sizeColorDiv_{$itr}" style="display: inline">
    <div id="myproductselect" style="display: inline">
        <input type="hidden" class="select2product  myproduct"  data-itr="{$itr}" name="product{$itr}" id="product{$itr}" data-placeholder="اختر منتج" style="    width: 50%;" />
    </div>
    <div id='tobedel'>
        <input type="hidden" name="current_itr" id="current_itr" value="{$itr}"/>
    </div>
</div>
{literal}
<script>
    var SCrowitr = $('#current_itr').val();
    $('#tobedel').remove();
</script>
{/literal}