Prevent submitting from another frame

Discussion in 'Javascript' started by Danny & Noemi Shafir, Jul 19, 2005.

  1. Hi all,

    I'm doing a manipulation with frames in the following way:
    I have 2 frames in a window: a main frame and an invisible
    frame. every time I want to do some calculations on the data
    in the server side, I submit the invisible frame's form, doing stuff on
    the server, and giving back answers as orders in javascript. those
    orders tell the main frame what to do...

    but I have a problem:
    I want to check the main nad upper frame's data BEFORE submitting it in
    the SERVER side. So, I tried (on onClick of the submit button in the
    main frame) to call a function on the invisible frame, submitting it,
    then do thing on the server, and get an answer.
    NOW, how can I prevent the main frame from continuing to the
    next page?

    Thanks a lot,
    Danny
     
    Danny & Noemi Shafir, Jul 19, 2005
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Søren M. Olesen
    Replies:
    0
    Views:
    586
    Søren M. Olesen
    Nov 13, 2003
  2. Microsoft
    Replies:
    3
    Views:
    703
    Hugo Wetterberg
    Oct 4, 2004
  3. Kai Grossjohann
    Replies:
    4
    Views:
    284
  4. Simon Wigzell
    Replies:
    4
    Views:
    191
    Fred Oz
    Nov 21, 2004
  5. threeflush

    submitting a form through another frame

    threeflush, Feb 7, 2005, in forum: Javascript
    Replies:
    10
    Views:
    218
    Archimedes Trajano
    Aug 29, 2005
Loading...

Share This Page