Results 1 to 4 of 4

Thread: Frame values

  1. #1

    Thread Starter
    Hyperactive Member parkes's Avatar
    Join Date
    Jan 1999
    Location
    Unitied Kingdom
    Posts
    303

    Frame values

    I've got a page with 2 frames and the top one (title) stores a value in a hidden field (sql)

    What I need to be able to do using ASP (if possible) is pull the information into the bottom frame (content) when a new page is loaded into the bottom frame.
    Thanks in advance for any help provided.

    VB 6 Enterprise Edition SP4
    ADO, SQL 7/2000, ASP and some JavaScript


    >> Life goes on, but for how long? <<
    If you can smile when things go wrong, you have someone in mind to blame

  2. #2
    Frenzied Member sebs's Avatar
    Join Date
    Sep 2000
    Location
    Aylmer,Qc
    Posts
    1,606
    instead put your hidden field into you bottom frames,


    to change it's value do:

    parent.frames.yourBottomFrameName.yourBottomFormName.yourHiddenFielName.value=someValue;

  3. #3

    Thread Starter
    Hyperactive Member parkes's Avatar
    Join Date
    Jan 1999
    Location
    Unitied Kingdom
    Posts
    303
    That wouldn't work I need to retain the values when I move between pages and the Top frame is alway there, it the bottom one that keeps changing
    Thanks in advance for any help provided.

    VB 6 Enterprise Edition SP4
    ADO, SQL 7/2000, ASP and some JavaScript


    >> Life goes on, but for how long? <<
    If you can smile when things go wrong, you have someone in mind to blame

  4. #4
    Frenzied Member sebs's Avatar
    Join Date
    Sep 2000
    Location
    Aylmer,Qc
    Posts
    1,606
    ok,well

    on your form, before submitting,

    instead of putting a buttin of type submit put it to button,


    onClick="doSubmit();"


    function doSubmit(){
    do you field switching value here
    and submit your form!
    }

Posting Permissions

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



Click Here to Expand Forum to Full Width