I work on asp.net core razor page model .I face issue i can't store result of select option ajax request that fill order type
to fill it after serach reset submit done
because after search button click order type select option reset
so i need to fill select option again of data that have before submit or before reset
so I get data list fill select option order type success on function RelatedOrderType with
reprintModel.OrderTypes = orderTypes;
How to get result or store result of reprintModel.OrderTypes = orderTypes; on funcion OnPost after search submit done
meaning how to get result of ajax request onPost function after search submit finish
$('#orderType-select').prepend('');
my code details as below