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 2 of 2
  1. #1
    New Coder
    Join Date
    Jan 2009
    Posts
    84
    Thanks
    5
    Thanked 0 Times in 0 Posts

    make submit button refresh iframe aswell?

    Hello,

    Here is the javascript i am currently using:

    Code:
    <script type = "text/javascript">
    
    var flag = 0;
    function dis() {
    document.getElementById("but1").value = "Your files are being uploaded..please wait.";
    if (flag == 0) {
    flag = 1;
    return true;
    }
    else {return false}
    }
    
    
    </script>
    with this:

    Code:
    <input type="submit" id = "but1" readonly value=" Upload File(s) " onclick = "return dis()" />
    How would i also make it so it refreshes a page on an iframe below aswell as submit upload, i need it to link to: pleasewait.html, which ive named image loader, so somehow it needs this in it: target="imageloader"

    Thanks

  • #2
    New Coder
    Join Date
    Jan 2009
    Posts
    84
    Thanks
    5
    Thanked 0 Times in 0 Posts
    BUMP! (ineedthis)


  •  

    Posting Permissions

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