Untitled
unknown
plain_text
2 years ago
519 B
7
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