javascript thread: Quick one about form data
function checkText(cText){
var a = new Array();
a = cText.split("//",1);
if (a[0].toUpperCase() == "HTTP:"){
return true;
}
else{
return false;
}
}
> how can i check a textbox value to see if it begins with "http://" and
> trim it if it's there?
>
|





