Below is my code. I would like to alert the user not to keep any field blank and the cursor should point to the field where the user is trying to skip the field when he presses enter key or submit key.
Code:
<HTML>
<HEAD>
<TITLE>Basic Details</TITLE>
<script type="text/javascript">
function details()
{
Leave a comment: