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

Only number restrictions

Addslashes

Add and Separate more records by comma operator

The top Web development PHP frameworks

HTML Document structure and it's Syntax format