Dear all,
I have a form with a field in it. I also have a link which opens up another window, then I select a colour I want from a database query in the second window, and the field should then be populated with my selection from the second window.
This is the line I am using to open up the new window
<td width="50%"><input TYPE="TEXT" NAME="Colours1" SIZE="19" VALUE="<%=FP_FieldHTML(fp_rs,"Colours1"%>"><a href="../Colours/selectcolour.asp" onClick="window.dateField = document.modifyform.Colours1;colour = window.open('../colours/selectcolour.asp','cal','WIDTH=500,HEIGHT=600');return false"><img src="../colourbutton.gif" border=0></a>
I know it is possible to pass the colour back to the Colours1 field (as this is 'borrowed' from another of our internet pages) but how do I do this, and then close the colour selection window ?
Thanks in Advance
I have a form with a field in it. I also have a link which opens up another window, then I select a colour I want from a database query in the second window, and the field should then be populated with my selection from the second window.
This is the line I am using to open up the new window
<td width="50%"><input TYPE="TEXT" NAME="Colours1" SIZE="19" VALUE="<%=FP_FieldHTML(fp_rs,"Colours1"%>"><a href="../Colours/selectcolour.asp" onClick="window.dateField = document.modifyform.Colours1;colour = window.open('../colours/selectcolour.asp','cal','WIDTH=500,HEIGHT=600');return false"><img src="../colourbutton.gif" border=0></a>
I know it is possible to pass the colour back to the Colours1 field (as this is 'borrowed' from another of our internet pages) but how do I do this, and then close the colour selection window ?
Thanks in Advance