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
Schleid AlexPosted Feb 24, 2020, 5:19 PM
Schleid AlexPosted Feb 21, 2020, 12:29 PM
Schleid AlexPosted Feb 20, 2020, 7:04 PM
Schleid AlexPosted Feb 19, 2020, 12:16 PM
Joginder BangerPosted Feb 19, 2020, 9:57 AM