Use Address: Case Converter View
In fact, tools for programmers do not have much use, also need not, in fact, I do not know what is the use, that is, to add a content for the site
Yesterday on the Web page with a new small gadget, a use JS to implement the case function code, in C #, there are ToUpper () and ToLower () function, but JS how?
Also because of JS a lot of things do not know, and later found that the data JS also have corresponding functions, respectively, tolocaleuppercase () and value.tolocalelowercase ()
Implementation code:
function Toa () { document.getElementById ("a"). Value = document.getElementById ("a"). Value.tolocalelowercase (); function ToA () { document.getElementById ("a"). Value = document.getElementById ("a"). Value.tolocaleuppercase (); }
case, call Toa () and Toa () respectively.
A page's case conversion tool [program Bar www.qhttl.com Record]