Hello, i am using the following code to try to get both values, first the old field value and the same new field value before update my dropdown field:
// Assume this is your initial capture, perhaps on page load or some initialization
var currentVisibleText2014 = $("#x_Providersh2014 option:selected").text();
// Event handler for when the dropdown changes, for example, on change event
$("#x_Providersh2014").on("change", function () {
// Update the variable when the dropdown changes
currentVisibleText2014 = $(this).find(":selected").text();
console.log("Updated Visible Text 2014:", currentVisibleText2014);
});
my problem is i don't get the new value input on the dropdown field(before save the record), just the old one, can some one check this?
thanks