Untitled
Anonymous
plain_text
03/24/2024 7:04 PM
692 B
21
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