Ken wrote: > Thanks guys. However, instead of passing the variable through a form > variable, i decided to send it in the url. But its not working either. > Here's my code. Please tell whats wrong in it: > <form name="popupform"> > 1 <input type="radio" name="resid" value="1" checked="checked" /><br /> > > 2 <input type="radio" name="resid" value="2" /><br /> > > 3 <input type="radio" name="resid" value="3" /> > > <br /> > <br /> > <input type="button" > onClick="window.opener.document.location.href='parent.cfm?id=' & > document.forms.popupform.resid.value; self.close();" value="Submit"> > > </form> >
The resid.value is the part that is not valid...with radio buttons, you would have to determine which one is checked and then look at it's value with syntax like resid[1].value. Rather than doing that, you could do something like... <input type="radio" name="resid" value="1" onClick="window.opener.document.location.href='parent.cfm?id=' & this.value; self.close();" /> ....etc. eliminating the need for your submit button. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:258138 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

