Search
 
SCRIPT & CODE EXAMPLE
 

JAVASCRIPT

java script login system

<SCRIPT LANGUAGE="JavaScript">

function Getstats()
{
window.status=('Attempting to Login to user area.')

var AccId;
var iName;
AccId = document.iAccInput.iAccID.value
iName = document.iAccInput.iName.value

if (AccId == "" || iName == "")
{
alert('
ERROR
You must enter ALL Details,
to View your statistics.
');
window.status=('Missing data or Invalid. Check spelling and Ensure Names are in Correct Case.')
}
else
{

var location=(iName + ".html");
this.location.href = location;
window.status=(' Verifying: ' + iName +' Please wait........');
}
}

</SCRIPT>
<hr><FORM NAME="iAccInput">
<CENTER>
<TABLE BORDER="1px" bordercolor="#c0c0c0" cellpadding="5" cellspacing="0">
    <TR>
        <TD ALIGN="RIGHT">
            <p><FONT SIZE="3" FACE="Arial"><B>User Name:</B></FONT>
              </p></td>

        <TD>
            <INPUT TYPE="TEXT" NAME="iName" MAXLENGTH="15">
        </td>
        <TD>  
        </td>
    </tr>
    <tr>
        <TD ALIGN="RIGHT">

            <p><FONT SIZE="3" FACE="Arial"><B>Password:</B></FONT>
              </p></TD>
        <td>
            <INPUT NAME="iAccID" MAXLENGTH="15" HEIGHT="50">
        </TD>
        <td align="center">
            <INPUT TYPE="BUTTON" VALUE=" Login " onClick="Getstats()" HEIGHT="40" WIDTH="50"><BR><br>
            <INPUT TYPE="RESET" VALUE=" Reset " onClick="window.status=('RESET: Please enter your USERNAME and ACCOUNT ID.')" WIDTH="50">

        </td>
    </TR>
</TABLE>
Comment

PREVIOUS NEXT
Code Example
Javascript :: js remove last character 
Javascript :: aes 256 nodejs 
Javascript :: link in directive angularjs 
Javascript :: debouncing js 
Javascript :: sum all values of an array 
Javascript :: javascript number format indian currency 
Javascript :: read url param data in javascript 
Javascript :: countdown javascript 
Javascript :: stringify json javascript 
Javascript :: console.log json shopify 
Javascript :: nextjs The engine "node" is incompatible with this module. 
Javascript :: queryselectorall in javascript to get data attribute value 
Javascript :: wait until something happens javascript 
Javascript :: datepicker select date programmatically bootstrap 
Javascript :: loop queryselector 
Javascript :: javascript indentation 
Javascript :: redux toolkit with redux persist 
Javascript :: how to give height through props 
Javascript :: remove duplicates in an array in javascript 
Javascript :: javascripti remove int character from string 
Javascript :: vue 3 route params 
Javascript :: use svg image in next js 
Javascript :: “https://packagist.org/packages.json” file could not be downloaded: failed to open stream: Operation timed out 
Javascript :: how to insert an item into an array at a specific index in javascript 
Javascript :: react router 6 multiple routes layout 
Javascript :: Pass Props to a Component Using default parameters in react 
Javascript :: js json parse 
Javascript :: rock paper scissors javascript 
Javascript :: javascript alert 
Javascript :: router in next js 
ADD CONTENT
Topic
Content
Source link
Name
3+1 =