PDA

View Full Version : Javascript Event Form.. etc


grynnan
October 30th, 2003, 12:12 AM
I have many frames, in a complex site..
Ok.. My site is pretty complex, so to make this question simple..
(And you the answer simple for me to understand =P )
I'll try to slim it.. =)

OK Here I go..

Two frames frames[0] and frames[1]

In frames[1] I've a form.
In frames[0] I've a script (non working) that will "look" at the form in frames[1]
and when the form is submitted, frames[1] will do something (what ever.. alert or what ever.. its the event I'm interested in..)

How can I make frames[0] do "something" when the form in frames[1] is submitted?
This is how far I got.. pretty stuck right now.. =P
in frames[0]
"Something"(top.frames[1].document.forms[0].submit()"something?") "something"{
alert('TADAA!!=P');}

And yes it's the "something" i need help with... =)