Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 3 of 3
  1. #1
    New Coder
    Join Date
    Jul 2004
    Location
    Las Cruces, NM
    Posts
    65
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Problem with Firefox 1.5 browser

    The following 2 functions work properly when used with IE 5.0 on a Mac or PC but the first function does not work when using Firefox 1.5.


    =========================================================
    <!-- **** This function displays the "Please Wait....Processing Your Request **** -->

    function showStatus() { document.getElementById("status").style.visibility="visible"; }


    <!-- **** This function allows the user to press enter from the Log-In text box **** -->

    function submitenter(myForm,e) {
    var keycode;
    if(window.event) { keycode = window.event.keyCode };
    else if(e) { keycode = e.which };
    if(keycode == 13){
    <xsl:text disable-output-escaping="yes">var newInput = document.createElement(&apos;input&apos;</xsl:text>
    <xsl:text disable-output-escaping="yes">newInput.type = &apos;hidden&apos;;</xsl:text>
    <xsl:text disable-output-escaping="yes">newInput.name = &apos;-find&apos;;</xsl:text>
    <xsl:text disable-output-escaping="yes">newInput.value = &apos;Log-In&apos;;</xsl:text>
    myForm.appendChild(newInput);
    myForm.submit();
    }
    }
    ========================================================

    Any assistance will be greatlyappreciated.............Ray

  • #2
    dep
    dep is offline
    Regular Coder
    Join Date
    Nov 2005
    Posts
    121
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Instead of using visibility, i'd use the "display" property...

    display: block/inline/hidden...

  • #3
    New Coder
    Join Date
    Jul 2004
    Location
    Las Cruces, NM
    Posts
    65
    Thanks
    1
    Thanked 0 Times in 0 Posts
    Hi Dep, many thanks for your suggestion, I will try this and let you know how it worked. Right now I am buried in another project and will not be able to try this out for a couple of days............Thanks again, Ray


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •