Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Javascript > Prevent submitting from another frame

Reply
Thread Tools

Prevent submitting from another frame

 
 
Danny & Noemi Shafir
Guest
Posts: n/a
 
      07-19-2005
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

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
submitting a form through another frame threeflush Javascript 10 08-29-2005 10:45 PM
Prevent "Enter" on a text field from submitting a form. Simon Wigzell Javascript 4 11-21-2004 10:56 AM
Referring to a frame's content from another frame Microsoft ASP .Net 3 10-04-2004 06:35 AM
Submitting form from another frame does not run onsubmit of that form Kai Grossjohann Javascript 4 12-09-2003 02:49 PM
Manipulating control in one frame from another frame, how? Søren M. Olesen ASP .Net 0 11-13-2003 05:37 PM



Advertisments