Hi
I am trying to put the selected value of the html.dropdownlist in a hidden input using the following jquery script but it is not working
the dropdownlist in the view is:
@Html.DropDownList("StoreCategoryID", ViewBag.Category as SelectList, "Please select a Category", new { Onchange = @"form-submit" })
Catid = Id of the input tag.
Why it is not showing in the input tag?
I would also like to display the related product on a table without having to post the form and the html.dropdownlist to retain it state.
Or if posting the page is easier I am ok with that too.
Any help please
Schleid

Joginder BangerRank #360 · 7K reputationPosted Feb 19, 2020, 4:57 AM EST
Schleid AlexRank #3,087 · 464 reputationPosted Feb 19, 2020, 7:16 AM EST
Schleid AlexRank #3,087 · 464 reputationPosted Feb 20, 2020, 2:04 PM EST
Schleid AlexRank #3,087 · 464 reputationPosted Feb 21, 2020, 7:29 AM EST
Schleid AlexRank #3,087 · 464 reputationPosted Feb 24, 2020, 12:19 PM EST