Java script CDATA

//
function validate(f)
{

var regex = /\W+/;
var str = "";

if (f.title.value == "")
{
str += "\nThe title field is blank.";
}
if (f.pathnew.value == "")
{
str += "\nThe file path is blank.";
}

if (str == "")
{
f.submit();
}
else
{
alert(str);
return false;
}
} //]]>

POPULAR POSTS ::

Add multiple upload box

String Separation

The top Web development PHP frameworks

Only number restrictions

HTML Document structure and it's Syntax format

Add and Separate more records by comma operator

Addslashes