[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Grouping input from multiple frames



Thanks,

I actually got this far just after I posted the last message.

gp

   > OIC.  In your case I think you can just get away with using the TARGET
   > attribute in the <FORM> tag for the sending form.  Just reference the name
   > of the targeted frame, and the CGI output (that's what myExecute is, right,
   > a CGI program?) should come back into that frame.
   > 
   > Example <FORM> in one of the other frames (say frame 1):
   > 
   > <FORM NAME="myform" ACTION="whatever.cgi" METHOD=get TARGET="frame3">
   > 
   > Then you have a function called when the user clicks a button.  It builds
   > the URL for the submission using a couple of dummied up text boxes as the
   > self-made query string.
   > 
   > function submitForm (form) {
   > 	form.action = form.action + "?" + form.text1.value + "&" + form.text2.value
   > 	form.submit()
   > }
   > 
   > Now, does *that* help you? <g>
   > 
   > -- Gordon
   > http://gmmcomb.com/javascript/
   > 
   > 
   > At 08:14 AM 3/14/96 EST, you wrote:
--------------------------------------------------------------------
For help about the list, please send a message to 'majordomo@obscure.org'
with the message body 'help'. To unsubscribe, send a message to
'majordomo@obscure.org' with the message body 'unsubscribe javascript'.
List archives and pointer to FAQ: http://www.obscure.org/javascript/