home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
207.233.110.77
/
207.233.110.77.tar
/
207.233.110.77
/
web31
/
Section_78401
/
Students
/
Barzola_Henry
/
tutorial.10
/
tutorial
/
spam.js
< prev
Wrap
Text File
|
2011-11-30
|
404b
|
20 lines
/*
New Perspectives on HTML and XHTML 5th Edition
Tutorial 10
Tutorial Case
Function List:
stringReverse
Used to reverse the order of characters in a text string
*/
function stringReverse(textString) {
if (!textString) return '';
var revString='';
for (i = textString.length-1; i>=0; i--)
revString+=textString.charAt(i)
return revString;
}