Untitled

mail@pastecode.io avatar
unknown
plain_text
7 months ago
519 B
1
Indexable
Never
document.getElementById('supplierIdSelect').addEventListener('change', function (event) {
    var selectedSupplierId = event.target.value;

    var productsAndServicesList = @Html.Raw(Json.Serialize(Model.ProductsAndServicesList));

    // Loop through the productsAndServicesList array
    for (var i = 0; i < productsAndServicesList.length; i++) {
        var productOrServiceOption = productsAndServicesList[i];
        if (productOrServiceOption.IdSupplier == selectedSupplierId)
        {

        }
    }
    
});
Leave a Comment