<--I have tried this code and the function Design() click event that should call the ssubmit() function does nothing. Can any body help please? -->


<html>
<head>
<script type="text/javascript">

function call()
{
design()
}

function design()
{
document.write("<center>")
document.write("User Name:<input type='text'>"+'<br><br>')
document.write("Password:<input type='text'>"+'<br><br><br>')
document.write("<input type='button' value='Submit' onclick='javascript:ssubmit()'>")
document.write("</center>")
}

function ssubmit()
{
document.write("Thank u For Your Registration")
}

</script>
</head>
<body>
<a href="javascript:call()">Click Me</a>
</body>
</html>