How to get the strlen in JavaScript?
e.g.
.
..
function OnChange()
{
strlen(document.form.MyName.value); <-
}
is there any function in JavaScript, that returns the length of a string?
Thanks
Printable View
How to get the strlen in JavaScript?
e.g.
.
..
function OnChange()
{
strlen(document.form.MyName.value); <-
}
is there any function in JavaScript, that returns the length of a string?
Thanks
Correct me if I am wrong (if I am I apologize), but I thought this site was strictly for Java. According to the book, thinking in Java, javascript's only similiarity to java is in its nam and that the name was a marketing ploy to build off the success of Java