Untitled

 avatar
unknown
plain_text
a year ago
519 B
4
Indexable
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)
        {

        }
    }
    
});
Editor is loading...
Leave a Comment