• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
input type return undefined value

#1
echo '<td id="texttwo_'.$row['id'].'"> 
  <input type="number" min="0" max="999" name="india"  
  onChange="sum('.$row['id'].');" class="txtbox" disabled="disabled" ></td>';

<script>

 var txtSecondNumberValue = document.getElementById('texttwo_'+rowid).value;

       alert(txtSecondNumberValue );

it shows undefined 

how to solve this.
Reply


Messages In This Thread
input type return undefined value - by kvanaraj - 08-24-2018, 11:31 PM

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2021 MyBB Group.