jquery prop method not functioning as expected : I am getting issue with jquery prop method.
if i am setting value dynamically, and then disabling the input then the value is hiding. Below is my code:

    $("#firstName").val("First Name");
    $("input").prop("disabled",true);
and now clicking edit button and removing disabled.
       
    $("input").prop("disabled",false);
at this point of time, my value is again visible.
can anybody help me in understanding this and make that value visible even on disable mode.
Thanks