Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > Web Programming > JavaScript > Javascript How-To
Password Reminder
Register
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
Javascript How-To Ask your "How do I do this with Javascript?" questions here.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Javascript How-To section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Closed Thread
 
Thread Tools Search this Thread Display Modes
  #21 (permalink)  
Old February 9th, 2006, 08:01 AM
Friend of Wrox
Points: 8,019, Level: 38
Points: 8,019, Level: 38 Points: 8,019, Level: 38 Points: 8,019, Level: 38
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jan 2005
Location: Mauchline, East Ayrshire, Scotland
Posts: 1,525
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via ICQ to crmpicco Send a message via AIM to crmpicco Send a message via MSN to crmpicco Send a message via Yahoo to crmpicco
Default

yep, just tried it with FF and i got this:
Code:
<html>
<head>

    <title>Sign In</title>


    <title></title>

    <base href="https://www.quickbase.com/db/">


    <meta http-equiv="Pragma" content="no-cache">
    <meta http-equiv="Cache-Control" content="no-cache">



    <meta http-equiv="Content-Type" content="text/html">



    <script language="javascript1.2" type="text/javascript">


        var gReqDBID            = "main";
        var gParentDBID            = "";
        var gSingleTableAppDBID    = "";
        var gReqCompanyName        = "";
        var gReqCompanyID        = "";
        var autoFAQ                = "";

        var kRecordNameSingular            = "";
        var kRecordNamePlural            = "";
        var kRecordNameSingularLower    = "";
        var kRecordNamePluralLower        = "";
        var kRuntimeMode                = "";

        var kIsPreRelease                = false;
        var kFMdefaultToAll                = false;

        var    gPrimaryTableDBID    = "";

        function TableInfo (name,snoun,pnoun,inQS,extApp) 
            { 
            this.name    = name; 
            this.snoun    = snoun; 
            this.pnoun    = pnoun; 
            this.inQS    = inQS; 
            this.extApp = extApp;
            }

        var gTableInfo = new Array();



        var gViewsInfo = new Array();



    </script>

    <script language="javascript1.2" src="/js/utils.js" type="text/javascript"></script>
    <script language="javascript1.2" src="/js/std_head.js" type="text/javascript"></script>

    <link href="https://www.quickbase.com/css/style.css" rel="stylesheet" type="text/css">
    <link rel="icon" href="/favicon.ico" />

    <link rel="shortcut icon" href="/favicon.ico" />



<script lang=JAVASCRIPT>

    var redmsg = "";

    var gPassword;
    var gLoginID;

    function LoadProc()
        {
        gPassword    = getElementBy ("password");
        gLoginID    = getElementBy ("loginid");

        if (document.mainform)
            {
            if (GetValue(gLoginID) == "")
                {
                gLoginID.select();
                gLoginID.focus();
                }
            else
                {
                gPassword.select();
                gPassword.focus();
                }
            }
        }




    function checkform()
        {
        if (gLoginID.value == "")
            {
            alert ("Please enter your e-mail address or screen name.");
            gLoginID.select();
            gLoginID.focus();
            return false;
            }

        if (gPassword.value == "")
            {
            alert ("The password area is blank.\n\nIf you don't have a password for QuickBase click the Register button below.");
            gPassword.select();
            gPassword.focus();
            return false;
            }

        return true;
        }



    function ClickRegister()
        {
        SetValue ("loginidreg", GetValue (gLoginID));
        ShowPopupDiv ("regNeedEmailPopup");
        SetFocus("loginidreg");
        }




    function checkRegForm()
        {
        var emailAddr = GetValue ("loginidreg");

        emailAddr = emailAddr.Trim();

        if (emailAddr == "")
            {
            alert ("Please enter an e-mail address.");
            return false;
            }

        //
        if (!LooksLikeEmailAddress (emailAddr))
            {
            alert ("This is not a valid e-mail address.");
            return false;
            }
        //
        return true;
        }




    function ClickResetPswd()
        {
        SetValue ("loginidreg", GetValue (gLoginID));
        document.regform.action='main?a=ForgotPassword';
        document.regform.submit();
        }


</script>

<style>
    td.t        { font-family:arial; font-size:120%;  font-weight:bold; }
    td.q        { font-family:arial; font-size:100%; font-weight:bold;  color:#222222; padding-bottom:5px;}
    td.m        { font-family:verdana; font-size:75%; }
    td.blackmsg    { font-family:arial; font-size:110%; color:#333333; }

    span.smnote        { color:#666; font-size:100%; padding-left:10px; }
    tr.boxtop td    { padding:4px 10px; color:white; background-color:#aa8; font-weight:bold;}
</style>

</head>



<body link=blue vlink=blue alink=blue id="stdBody"    onLoad="StdLoadProc();"
                                                    onUnload="StdUnloadProc()"
                                                    onClick="StdClickProc(event);"
                                                    onResize="StdResizeProc(event);"
                                                    onScroll="StdScrollProc(event);"
                                                    onKeyDown="StdKeyDownProc(event);"
                                                    onMouseDown="StdMouseDownProc(event);"
                                                    onMouseUp="StdMouseUpProc(event);"
                                                    onBeforeUnload="return StdBeforeUnloadProc(event);"
                                                    >




<div id="tableSelector" class="PopBox" style="visibility:hidden; display:none;"> 
    <table cellspacing="0">
        <tr><td class=a90 style="padding-bottom:1em">For which table?</td></tr>
        <tr>
            <td>
                <table cellspacing="6" width="100%">

                    <tr><td><a href="javascript:void(0)" onClick="location='?a=' + gAction; return false;"></a></td></tr>

                    <tr id="alltables" style="display:none"><td><a href="javascript:void(0);" onclick =" location='?a=' + gAction; return false;">All Tables</a></td></tr>
                    <tr><td id=cancelButCell class=closeBut><a href="javascript:void(0)" onClick="HidePopupDiv(); return false;">Cancel</a></td></tr>
                </table>
            </td>
        </tr>
    </table>
</div>


















<div id="HelpMenu"  class="PopMenu"  style="visibility:hidden; display:none;">

    <table cellspacing=0 cellpadding=0><tr><td>
    <H4>Help</H4>
    <A HREF="javascript:void(window.open('https://www.quickbase.com/db/main?act=dohelp','Help','width=650,height=550,resizable,scrollbars'))">Help Topics - General</a>
    <A HREF="javascript:void(window.open('https://www.quickbase.com/db/main?act=dohelp&page=LOGIN','Help','width=650,height=550,resizable,scrollbars'))">Help Topics - Help for this Page</a>
    <A HREF="main?a=gensupport&accountid=0">Support</a>
    <A HREF="javascript:void(window.open('https://www.quickbase.com/help/printed_help_manual.pdf','Help','width=650,height=550,resizable,scrollbars'))">Print Help Manual</a>

    </td></tr></table>
</div>







    <table id=stripe1 class=t100

        >
        <tr>

            <td><a href="main?a=home"><img src="/i/logoOnBlueGrid.gif" height=28 width=321></a></td>





            <td align=right id=stripe1right nowrap style="vertical-align:top;">

                <table cellpadding=0 cellspacing=0>
                    <tr>
                        <td style="padding-top:5px">

                            <a id="HelpButton" href="javascript:void(0)" onClick="return ShowHelpMenu(true);" onMouseOver="ShowHelpMenu(false);" class=s1link style="color:#fff;">Help</a>

                            <span class=s1link style="color:#fff;">|</span>

                            <a href="main?a=SignIn" class=s1link style="color:#fff">Sign In</a>

                        </td>


                        <td><img src="/i/orangeCurve.png" width=18 height=18 onload="correctPNG(this)" style="margin-left:15px"></td>
                        <td><a href="main?a=myqb" id=s1RealmHost>My QuickBase</a></td>


                    </tr>
                </table>

            </td>




        </tr>
    </table>





<table id=stripe2 class=t100 onresize="HideMenus();">

    <tr>
        <td style="padding:0px 20px 0px 20px; height:28px; text-align:right">
            <span style="color:#222;">Not signed in &nbsp;</span><a href="main?a=profileview" class=hlink><b></b>&nbsp;<span style="color:#444"></span></a>
        </td>

    </tr>

</table>

<table cellspacing=0 cellpadding=0 align=right>
    <tr>
        <td align=right><td>
    </tr>
</table>






<table class=t100>
    <tr>
        <td><img src="/i/secondBarShadow.gif" height=5 width="100%"></td>
    </tr>
</table>




<table id=stripe4 class=t100 style="margin-top:7;">

    <tr>

        <td id=dsbSpacer style="display:none;" width=150>
            <table class=t100>
                <tr>
                    <td class=dsbHead>Customize</td>
                    <td class=dsbHead align=right valign=top><a href="javascript:void(0)" onClick="closeDesignSidebar(); return false;"><img src="/i/closeBoxSmall.gif" border=0></a></td>
                </tr>
                <tr><td colspan=2><img src="/i/clear2x2.gif" height=1 width=150></td></tr>
            </table>

        </td>

        <td style="padding-left:20">
            <table cellspacing=0 cellpadding=0>
                <tr>



                    <td id="s4PageName"></td>
                </tr>
            </table>
        </td>

        <td align=right style="padding-right:12px">
            <table cellspacing=0 cellpadding=0 id=s4ButtonArea>
                <tr>











                </tr>
            </table>
        </td>
    </tr>

</table>






<table cellspacing=0 cellpadding=0 width="100%" id="bodyTable">
    <tr>
        <td valign=top id=designSidebar style="display:none;"  width=150>



        </td>

        <td valign=top id=mainCell style="border-width:0px 20px;">











<form method="post" action="main?a=signin" name=mainform onsubmit="return checkform()">



<table cellspacing=0 cellpadding=0>

    <tr id=loginMsgRow style="display:none">
        <td>
            <table style="border:1px solid #99a; background-color:#FFFFDC; margin-bottom:15px; line-height:100%">

                <tr>
                    <td style="padding:10px" valign=top><img src="/i/icon_warning.gif" border=0></td>
                    <td style="padding:10px" id=loginMsgDiv>

                    </td>
                </tr>
            </table>
        </td>
    </tr>

    <tr>
        <td>
            <table style="border:1px solid #cca; background-color:#ddb;" cellspacing=0 cellpadding=0>

                <tr class=boxtop><td>Sign in to QuickBase</td></tr>


                <tr>
                    <td>

                        <table cellspacing=0 cellpadding=5 style="margin:15px">


                            <tr>
                                <td style="border:1px solid #aa9; background-color:white; padding:20px">
                                    <table cellspacing=0 cellpadding=5>
                                        <tr>
                                            <td><b>E-mail Address</b></td>
                                            <td valign=top>
                                                <input type=text name="loginid" size="40" maxlength="99" value="" tabindex=1 style="font-size:120%">
                                                <span class=smnote>(or QuickBase screen name)</span>

                                            </td>
                                        </tr>

                                        <tr>
                                            <td><b>Password</b></td>
                                            <td valign=top>
                                                <input type=password name="password" size="20" maxlength="20" tabindex=2 style="font-size:110%">
                                                <span class=smnote></span>
                                            </td>

                                        </tr>

                                        <tr>
                                            <td>&nbsp;</td>
                                            <td colspan=2 style="padding-top:14px">
                                                <input type="submit" value="   Sign in   " name="SignIn" tabindex=3 style="font-size:120%" id="signin">
                                            </td>
                                        </tr>


                                        <tr>

                                            <td>&nbsp;</td>
                                            <td colspan=2 style="padding-top:10px;">
                                                <input type="checkbox" name="EnableAutoLogin" tabindex=4>
                                                &nbsp;<span style="font-size:90%">Keep me signed in on this computer unless I sign out</span>
                                            </td>
                                        </tr>

                                    </table>
                                </td>

                            </tr>


                            <tr>
                                <td style="padding-top:20px;">
                                    <table cellpadding=3 style="color:#221">
                                        <tr>
                                            <td>Don't have a password for QuickBase?</td>
                                            <td><input type="button" value="   Register   " name="Register" onClick="ClickRegister()" id="register"></td>

                                        </tr>
                                        <tr>
                                            <td>Forgot your password for QuickBase?</td>
                                            <td><input type="button" value="Forgot My Password" onclick="ClickResetPswd()" style="font-size:90%"></td>
                                        </tr>
                                    </table>
                                </td>
                            </tr>


                        </table>

                    </td>
                </tr>
            </table>
        </td>
    </tr>
</table>

</form>




        </td>
    </tr>
</table>




<table cellspacing=0 cellpadding=0 border=0 id=bottomSpacer>
    <tr><td><img src="/i/clear2x2.gif" height=15></td></tr>
</table>

<div id=bottomFooter style="width:100%; position:absolute; visibility:hidden; display:none;">






</div>





<div id="confMsgBox" style="visibility:hidden; display:none; position:absolute; text-align:center"></div>


<script>
    var    gMsgBoxMsg        = "";
    var gMsgBoxSubMsg    = "";
</script>

<div id="msgBox" class="PopBox" style="visibility:hidden; display:none;"> 
    <table cellspacing="0">

        <tr> 
            <td style="padding-bottom:1em; color:#c00; font-size:80%"><span id=msgBoxMsg></span></td>
        </tr>

        <tr> 
            <td style="padding-left:20px">
                <table cellspacing="0">
                    <tr>
                        <td><span id=msgBoxSubMsg style="line-height:130%"></span></td>
                    </tr>

                    <tr>
                        <td id="msgBoxClose" class=closeBut><input type=button value="Close" onclick="HidePopupDiv('msgBox');"></td>
                    </tr>
                </table>
            </td>
        </tr>
    </table>
</div>

<div id="qbAlertDiv" class="PopBox" style="visibility:hidden; display:none; padding:30px;"> 
    <table cellspacing="0">
        <tr> 
            <td style="padding-right:20px" valign=top><img src="/i/icon_warning.gif" border=0></td>
            <td style="font-size:80%; line-height:140%" id="qbAlertSpan">&nbsp;</td>
        </tr>

        <tr>
            <td class=centerButs colspan=2>
                <input type=button value="   OK   " onclick="HidePopupDiv('qbAlertDiv');">

            </td>
        </tr>
    </table>
</div>


<div id="qbConfDiv" class="PopBox" style="visibility:hidden; display:none; padding:30px"> 
    <table cellspacing="0">
        <tr> 
            <td style="padding-right:20px; line-height:140%" valign=top><img src="/i/qmarkBalloon.gif" border=0></td>
            <td style="font-size:80%;" id="qbConfSpan">&nbsp;</td>
        </tr>

        <tr>
            <td class=centerButs colspan=2>
                <input type=button value="   OK   " onclick="QBconfirmYesProc()">
                <input type=button value="Cancel"   onclick="HidePopupDiv('qbConfDiv');">
            </td>
        </tr>
    </table>
</div>

<div id=qbBusyDiv class=PopBox style="visibility:hidden; display:none; padding:40px">
    <table cellspacing="0">
        <tr> 
            <td style="font-size:80%;" id="qbBusySpan">&nbsp;</td>
        </tr>
    </table>
</div>



<div id="qbPromptDiv" class="PopBox" style="visibility:hidden; display:none; padding:30px"> 
    <table cellspacing="0">
        <tr> 
            <td style="padding-right:20px; line-height:140%" valign=top rowspan=2><img src="/i/qmarkBalloon.gif" border=0></td>

            <td style="font-size:80%;" id="qbPromptMsg">&nbsp;</td>
        </tr>

        <tr>
            <td><input type=text size=40 id="qbPromptInput"></td>
        </tr>

        <tr>
            <td class=centerButs colspan=2>
                <input type=button value="   OK   " onclick="QBpromptYesProc()">

                <input type=button value="Cancel"   onclick="HidePopupDiv('qbPromptDiv');">
            </td>
        </tr>
    </table>
</div>


















<div id=fpopmenu style="left:0px; top:0px; visibility:hidden; display:none; position:absolute; z-index:6" class="PopMenu">
    <table cellspacing=0 cellpadding=0><tr><td>
        <h4><span id=fpopMenuLabel></span></h4>
        <a id="fpopEditProps"        href="">Edit this field's properties...</a>

        <a id="fpopDefView"            href="">Edit the default view...</a>
    </td></tr></table>
</div>



<input type=hidden value="first" name=firstTimeLoaded>







<div id="interactionID" style="visibility:hidden; display:none;"></div>

<div id="regNeedEmailPopup" class="PopBox" style="visibility:hidden; display:none; width:500px; left:0px; top:0px;">

    <h4>Please enter your e-mail address</h4>

    <p>To begin registration we first need your e-mail address.</p>

    <form method="post" action="main?a=reg" name=regform onsubmit="return checkRegForm()">

        E-mail address: &nbsp;<input type="text" name="loginid" size=40 id=loginidreg>

        <div style="float:right; padding-top:30px">
            <input type=submit value="Register" id="needEmailRegister">

            <input type=button value="Cancel"   onClick="HidePopupDiv('regNeedEmailPopup')">
        </div>

        <input type=hidden name="whichButton" value="register">

    </form>


</div>


</body>
</html>
Seems it cant be done....

www.crmpicco.co.uk
  #22 (permalink)  
Old February 9th, 2006, 08:19 AM
Friend of Wrox
Points: 8,019, Level: 38
Points: 8,019, Level: 38 Points: 8,019, Level: 38 Points: 8,019, Level: 38
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jan 2005
Location: Mauchline, East Ayrshire, Scotland
Posts: 1,525
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via ICQ to crmpicco Send a message via AIM to crmpicco Send a message via MSN to crmpicco Send a message via Yahoo to crmpicco
Default

an article for those interested............
http://www.experts-exchange.com/Web/..._20661699.html

www.crmpicco.co.uk
  #23 (permalink)  
Old February 21st, 2008, 05:36 PM
Registered User
 
Join Date: Feb 2008
Location: , , .
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I don't know whats more annoying.
That people ask this questions so many times or that "people who things they are smarter than others" posts so many replies telling "the stupid people" "that U can not so this" and "why don't U read the previous replies".
I think you are more annoying bcs U don't seam to be able to tell how to turn of this feature. Then U could say that this is not a good idea and explain why.

  #24 (permalink)  
Old February 21st, 2008, 05:54 PM
Friend of Wrox
Points: 6,664, Level: 34
Points: 6,664, Level: 34 Points: 6,664, Level: 34 Points: 6,664, Level: 34
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jan 2004
Location: Sydney, NSW, Australia.
Posts: 1,870
Thanks: 12
Thanked 20 Times in 20 Posts
Send a message via AIM to mat41
Default

OMG do you realise the last post before yours is nearly 2 years old!!!

I remember it made me laugh very hard on several occasions. It may even be, IMO the biggest waste of disk space on the very useful forum :o)

Wind is your friend
Matt
www.elitemarquees.com.au
  #25 (permalink)  
Old March 1st, 2008, 03:45 PM
richard.york's Avatar
Wrox Author
Points: 5,506, Level: 31
Points: 5,506, Level: 31 Points: 5,506, Level: 31 Points: 5,506, Level: 31
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jun 2003
Location: Camby, IN, USA.
Posts: 1,706
Thanks: 0
Thanked 6 Times in 6 Posts
Default

> people who things they are smarter than other

Tell us more, wise one. What other great pearls of insight and wisdom have you to share with us on this topic? Bless us further with your discourse.

Regards,
Rich

--
Author,
Beginning CSS: Cascading Style Sheets For Web Design, 2nd Edition
CSS Instant Results

http://www.catb.org/~esr/faqs/smart-questions.html
Closed Thread


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Can I disable View Source command in web browsers? surendran HTML Code Clinic 15 February 23rd, 2008 05:41 AM
Disable View>Source (disable html source) kazmughal44 HTML Code Clinic 11 December 11th, 2007 11:53 AM
HTML - no View Source GreenLamar HTML Code Clinic 1 August 9th, 2007 03:19 PM
disable the back button of my MSIE Browser. Magen Classic ASP Basics 2 January 24th, 2007 04:49 PM
Disable - View Source in Menu Bar VikramMullick Javascript 1 March 22nd, 2006 05:40 PM



All times are GMT -4. The time now is 04:53 PM.


Powered by vBulletin®
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.