I have prepared following pages for my website?
---------
HTML Page:
<!DOCTYPE html>

<html lang="en">
<head>
<title>New user page for Jobsite of SPINFONET.COM </title>
<meta name="description" content="Website for Jobs,Matrimony,Property listing in India."/>
<meta name="keywords" content="Jobs, searching jobs, jobsearch,jobs in india, Brides,Brides and groom search, House,Flat,Plots,Bunglows,Industrial sheds search,property search"/>
<meta name="keyphrase" content="Job search,Property search, Bride and groom search"/>
<meta name="Title" content="Search Jobs,matrimony, property in India"/>
<meta name="Owner" content="spinfonet.com"/>
<meta name="Author" content="spinfonet.com"/>
<meta name="classification" content="Jobs,matrimony,property search in india, Online search"/>
<meta name="distribution" content="global"/>
<meta name="rating" content="General"/>
<meta name="subject" content="Jobs, Matrimony,property search in idnai"/>
<meta name="page-type" content="Jobs,matrimony,property - India"/>
<meta name="audience" content="all"/>
<meta name="robots" content="all"/>
<meta name="language" content="English"/>
<meta http-equiv="content-type" content="text/html; charset=iso-8859-1"/>
<meta name="robots" content="noodp"/>
<script src="jobnewuser.js"></script>
<link rel="stylesheet" type="text/css" href="jobnewuser.css">
</head>
<body>
<div class="Jbntopnav">
<img alt="S P logo.jpg" src="S p logo.jpg" height="200" width="200" />
<ul>
<li><a href="http://www.spinfonet.com/index.html">Home</a></li>
<li><a href="http://www.spinfonet.com/jobs.html">Jobs</a></li>
<li><a href="http://www.spinfonet.com/jobuserlogin.html">Userlogin</a></li>
</ul>
</div>
<form name="jobnewuser" action="jobnewuser.php" method="post"onsubmit="return validateForm();" />
<table>
<tr>
<td>Username:*</td>
<td><input type="text" name="Uname" /></td>
</tr>
<tr>
<td>Password:*</td>
<td><input type="password" name="Pword" /></td>
</tr>
<tr>
<td>Passwordagain:*</td>
<td><input type="password" name="Pwrag"> </td>
</tr>
<tr>
<td>Emailid:*</td>
<td><input type="text" name="Email" /></td>
</tr>
</table>
<p>All Field Marked with* Are Required Field</p>
<input type="Submit" name="Submit" value="Submit" id="buttonSubmit" />
<input type="Reset" name="Reset" value="Reset" id="buttonReset" />
</form>
</body>
</html>
--------------------
PHP Page:
<?php
// Connect to MS SQL Server;
$server ='208.91.198.174';
$link = mssql_connect($server, 'myusername', 'mypassword');

if (!$link) {
die('Something went wrong while connecting to MSSQL');
if (!$link || !mssql_select_db('spinfj5t_jobs', $link)) {
die('Unable to connect or select database!');
$txtusername = $_REQUEST['txtUserName'];
$txtpassword = $_REQUEST['txtPassword'];
$txtpasswordagain=$_REQUEST['txtPasswordagain'];
$txtemailid = $_REQUEST['txtEmailid'];

$sql = " INSERT INTO jobnewuser ([Username],[Password][Passwordagain],[Eamilid],)VALUES('$txtusername','$txtpassword','$txtpasswordagain','$txtemailid')";
$result = mssql_query($sql, $link);
if(!$result)
{
echo mssql_error();
exit;
}
// close the connection
mssql_free_result($result);
mssql_close();
echo "Data successfully inserted";
}
}

?>
-------------
javascript page:
<script type="text/javascript">
function validateForm()
{
var x=document.forms["jobnewuser"]["Uname"].value;
if (x==null || x=="")
{
alert("First name must be filled out");
return false;
}

var x=document.forms["jobnewuser"]["Pword"].value;
if (x==null || x=="")
{
alert("First name must be filled out");
return false;
}
var x=document.forms["jobnewuser"]["Pworag"].value;
if (x==null || x=="")
{
alert("First name must be filled out");
return false;
}
var x=document.forms["myForm"]["fname"].value;
if (x==null || x=="")
{
alert("First name must be filled out");
return false;
}
{
var x=document.forms["jobnewuser"]["Email"].value;
var atpos=x.indexOf("@");
var dotpos=x.lastIndexOf(".");
if (atpos<1 || dotpos<atpos+2 || dotpos+2>=x.length)
{
alert("Not a valid e-mail address");
return false;
}
</script>
------------
My Problem:
I have uploaded above three pages to my webhost httpdoc folder.
I have visted my website through webbroweser
I have opened jobnewuser page and without inserting any data i have pressed submit button to test whether javascript working or not? but instead of showing mistake beside the particular field it shows blank page with URL on showing on address bar mywebsite.com/jobnuewuser.

Can you please tell me what could be the mistake?