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