Resources » TypeScript » Scripting Languages » Javascript

Genrate Number To String

Updated: Category: Javascript
Author: Member Level: DiamondPoints: 7

This code allows to generate number to character using array function in JavaScript

< html xmlns="" >
< head runat="server" >
< title > Untitled Page< /title >
< script >

function NtCode(RecVal)
var t2="";
var t1=new Array("A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z");
for(var i=0;i< RecVal.length;i++)

< /script >
< /head >
< body >
< form id="form1" runat="server" >
< asp:TextBox ID="Txt1" runat ="server" >< /asp:TextBox >

< input type ="button"
onclick ="NtCode(document.getElementById('Txt1').value);"
value ="ClickHere" id="Button1" / >

< /form >

< /body >
< /html >

Did you like this resource? Share it with your friends and show your love!

Responses to "Genrate Number To String"

No responses found. Be the first to respond...


Post Comment:

  • Do not include your name, "with regards" etc in the comment. Write detailed comment, relevant to the topic.
  • No HTML formatting and links to other web sites are allowed.
  • This is a strictly moderated site. Absolutely no spam allowed.
  • Name:   Sign In to fill automatically.
    Email: (Will not be published, but required to validate comment)

    Type the numbers and letters shown on the left.

    Submit Article     Return to Article Index
    Subscribe to Subscribers
    Active Members
    TodayLast 7 Daysmore...

    Awards & Gifts
    Talk to Webmaster Tony John

    Online Members

    Copyright © SpiderWorks Technologies Pvt Ltd., Kochi, India