Quantcast
Channel: Ionic Forum - Latest topics
Viewing all articles
Browse latest Browse all 71531

Input data is not getting from 2nd time

$
0
0

@RajaJakkampudi wrote:

In ionic, i had taken

HTML code:

<input maxlength="1" autocomplete="off" type="password" id="Enewid1" >

Javascript code:

var pin = $('#Enewid1').val();

ISSUE:
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

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 71531

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>