• 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


Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


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