This is the last trouble im having. I found an alternative method for one of the tasks i was trying to solve earlier. Only it created a new task. I'm using this (Code provided by www.irt.org) :
<script language="JavaScript"><!--function newWindow(file,window) { msgWindow=open(file,window,'resizable=no,width=200,height=400'); if (msgWindow.opener == null) msgWindow.opener = self;}//--></script><form name="outputForm1"><input type="button" value="Open doc2.html into window2" onClick="newWindow('doc2.html','window2')"><br><input name="outputField1" type="text" value=""><br><input name="outputField2" type="text" value=""></form>
For Doc 1 and this :
<script language="JavaScript"><!--function setForm() { opener.document.outputForm1.outputField1.value = document.inputForm1.inputField1.value; opener.document.outputForm1.outputField2.value = document.inputForm1.inputField2.value; self.close(); return false;}//--></script><form name="inputForm1" onSubmit="return setForm();"><br><input name="inputField1" type="text" value=""><br><input name="inputField2" type="text" value=""><br><input type="submit" value="Update opener"></form>
For doc 2. It works good, my only problem, is now, im using radio buttons instead of text fields, and im trying to figure a way to get multiple radio buttons to update that one text field on the original page. So far i've tryed changing just about every option, if you use the same name for radio buttons, the output will be "undefined" as shown HERE (on step 2, click inventory and select one of the radios)Let me know if you guys can see what im doing wrong...-Calamier