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 4 of 4
  1. #1
    New Coder
    Join Date
    Mar 2003
    Posts
    61
    Thanks
    0
    Thanked 0 Times in 0 Posts

    getting values from frames

    I have a hidden frame with 6 fields with values. I want to get these values from one frame to another, add the values from the 6 fields together, and show their total on the page.

    HARD? haha

  • #2
    New Coder
    Join Date
    Mar 2003
    Posts
    61
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Here's the hidden frame:

    <HTML>
    <BODY>

    <FORM NAME = "values">

    <INPUT TYPE = "text" SIZE = "3" NAME = "a" VALUE = 0>
    <INPUT TYPE = "text" SIZE = "3" NAME = "b" VALUE = 0>
    <INPUT TYPE = "text" SIZE = "3" NAME = "c" VALUE = 0>
    <INPUT TYPE = "text" SIZE = "3" NAME = "d" VALUE = 0>
    <INPUT TYPE = "text" SIZE = "3" NAME = "e" VALUE = 0>
    <INPUT TYPE = "text" SIZE = "3" NAME = "f" VALUE = 0>

    </FORM>

    <FORM NAME = "values2">

    <INPUT TYPE = "text" SIZE = "3" NAME = "a" VALUE = 0>
    <INPUT TYPE = "text" SIZE = "3" NAME = "b" VALUE = 0>
    <INPUT TYPE = "text" SIZE = "3" NAME = "c" VALUE = 0>
    <INPUT TYPE = "text" SIZE = "3" NAME = "d" VALUE = 0>
    <INPUT TYPE = "text" SIZE = "3" NAME = "e" VALUE = 0>
    <INPUT TYPE = "text" SIZE = "3" NAME = "f" VALUE = 0>

    </FORM>

    <FORM NAME = "values3">

    <INPUT TYPE = "text" SIZE = "3" NAME = "a" VALUE = 0>
    <INPUT TYPE = "text" SIZE = "3" NAME = "b" VALUE = 0>
    <INPUT TYPE = "text" SIZE = "3" NAME = "c" VALUE = 0>
    <INPUT TYPE = "text" SIZE = "3" NAME = "d" VALUE = 0>
    <INPUT TYPE = "text" SIZE = "3" NAME = "e" VALUE = 0>
    <INPUT TYPE = "text" SIZE = "3" NAME = "f" VALUE = 0>

    </FORM>

    <FORM NAME = "values4">

    <INPUT TYPE = "text" SIZE = "3" NAME = "a" VALUE = 0>
    <INPUT TYPE = "text" SIZE = "3" NAME = "b" VALUE = 0>
    <INPUT TYPE = "text" SIZE = "3" NAME = "c" VALUE = 0>
    <INPUT TYPE = "text" SIZE = "3" NAME = "d" VALUE = 0>
    <INPUT TYPE = "text" SIZE = "3" NAME = "e" VALUE = 0>
    <INPUT TYPE = "text" SIZE = "3" NAME = "f" VALUE = 0>

    </FORM>

    <FORM NAME = "values5">

    <INPUT TYPE = "text" SIZE = "3" NAME = "a" VALUE = 0>
    <INPUT TYPE = "text" SIZE = "3" NAME = "b" VALUE = 0>
    <INPUT TYPE = "text" SIZE = "3" NAME = "c" VALUE = 0>
    <INPUT TYPE = "text" SIZE = "3" NAME = "d" VALUE = 0>
    <INPUT TYPE = "text" SIZE = "3" NAME = "e" VALUE = 0>
    <INPUT TYPE = "text" SIZE = "3" NAME = "f" VALUE = 0>

    </FORM>

    <FORM NAME = "values6">

    <INPUT TYPE = "text" SIZE = "3" NAME = "a" VALUE = 0>
    <INPUT TYPE = "text" SIZE = "3" NAME = "b" VALUE = 0>
    <INPUT TYPE = "text" SIZE = "3" NAME = "c" VALUE = 0>
    <INPUT TYPE = "text" SIZE = "3" NAME = "d" VALUE = 0>
    <INPUT TYPE = "text" SIZE = "3" NAME = "e" VALUE = 0>
    <INPUT TYPE = "text" SIZE = "3" NAME = "f" VALUE = 0>

    </FORM>

    <FORM NAME = "values7">

    <INPUT TYPE = "text" SIZE = "3" NAME = "a" VALUE = 0>
    <INPUT TYPE = "text" SIZE = "3" NAME = "b" VALUE = 0>
    <INPUT TYPE = "text" SIZE = "3" NAME = "c" VALUE = 0>
    <INPUT TYPE = "text" SIZE = "3" NAME = "d" VALUE = 0>
    <INPUT TYPE = "text" SIZE = "3" NAME = "e" VALUE = 0>
    <INPUT TYPE = "text" SIZE = "3" NAME = "f" VALUE = 0>

    </FORM>

    <FORM NAME = "values8">

    <INPUT TYPE = "text" SIZE = "3" NAME = "a" VALUE = 0>
    <INPUT TYPE = "text" SIZE = "3" NAME = "b" VALUE = 0>
    <INPUT TYPE = "text" SIZE = "3" NAME = "c" VALUE = 0>
    <INPUT TYPE = "text" SIZE = "3" NAME = "d" VALUE = 0>
    <INPUT TYPE = "text" SIZE = "3" NAME = "e" VALUE = 0>
    <INPUT TYPE = "text" SIZE = "3" NAME = "f" VALUE = 0>

    </FORM>

    <FORM NAME = "values9">

    <INPUT TYPE = "text" SIZE = "3" NAME = "a" VALUE = 0>
    <INPUT TYPE = "text" SIZE = "3" NAME = "b" VALUE = 0>
    <INPUT TYPE = "text" SIZE = "3" NAME = "c" VALUE = 0>
    <INPUT TYPE = "text" SIZE = "3" NAME = "d" VALUE = 0>
    <INPUT TYPE = "text" SIZE = "3" NAME = "e" VALUE = 0>
    <INPUT TYPE = "text" SIZE = "3" NAME = "f" VALUE = 0>

    </FORM>
    </BODY>

    </HTML>

    =========================================

    i have nothing in the frame you see yet!

  • #3
    New Coder
    Join Date
    Mar 2003
    Posts
    61
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Any suggestions anybody?

  • #4
    Regular Coder
    Join Date
    Feb 2003
    Location
    California
    Posts
    925
    Thanks
    0
    Thanked 0 Times in 0 Posts
    here, I thought I recognized this idea from somewhere http://www.codingforums.com/showthre...ighlight=frame
    is a link to another thread that had a similar question, you might find something there.


    Jason


  •  

    Posting Permissions

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