Pages

Saturday, June 14, 2014

10 to 2


<b>បញ្ចូលចំនួនគោល១០: </b><input type = "text" name = "deci" id = "deci" size = "15" maxlength = "15" /> <input type="button" value="បំលែង!" onclick="dec2bin()" /> <br><br> <div id = "result"> </div> <script type = "text/javascript"> function dec2bin() { var x = document.getElementById("deci").value; if ((/[^0-9]/g.test(x)) || x == "") { alert ("អ្នកត្រូវបញ្ចូលចំនួនគត់គោល១០!"); document.getElementById("deci").value...?

<b>បញ្ចូលចំនួនគោល១០: </b><input type = "text" name = "deci" id = "deci" size = "15" maxlength = "15" /> <input type="button" value="បំលែង!" onclick="dec2bin()" /> <br><br> <div id = "result"> </div> <script type = "text/javascript"> function dec2bin() { var x = document.getElementById("deci").value; if ((/[^0-9]/g.test(x)) || x == "") { alert ("អ្នកត្រូវបញ្ចូលចំនួនគត់គោល១០!"); document.getElementById("deci").value...

No comments:

Post a Comment