In ionic, i had taken
<input maxlength="1" autocomplete="off" type="password" id="Enewid1" >
var pin = $('#Enewid1').val();
Here the issue is am getting the value from “pin” for 1st time
But from the 2nd time am getting the empty string value.
I had also tried by using the value="" attribute in element but it’s not working