I have successfully populated a select menu and can navigate the menu in the UI just fine.
However, when I go to query either the selectmenu val() or the selected option val(), neither of them reflect what I just selected. It is returning a value, but not the correct one, that I just selected.
This seems like a but to me, but I'd like to at least find a workaround if possible.
I'm using jQuery UI 1.12.1 against jQuery 1.12.4 in an ASP.NET MVC 5 (AFAIK, V5) web page.
I need to know how to BLOCK each $.when(), or $.get(), might be better, or if I can simply block and wait for the done handler to be truly done, better still.
I'm sure it's a simple callback, but the reference escapes me.
So I was "successful" in re-styling a checkbox using UI .button().
However, I suspect that this has had a peculiar side effect; if I understand correctly, the original control(s) are destroyed, and recreated. Fine, fair enough. But they are re-created outside the original form, so therefore are not included in the postback.
So, ... appendTo to the rescue? Only, I try this, but it doesn't seem to work? I could be using it wrong.
var wizDiv = $("#wizardDiv");
This doesn't seem to be working, but I figure as long as the div is contained in my form, I should be able to append the input to it?
This doesn't seem to be working, though; I do not see the input name among my Request.Form items passed through the post back (ASP.NET MVC).