Hey all,

This is my first post on this site and it will not be the last I can tell you, I am going mad here as I know I have made this issue that I have working the past but for the life of me I cannot find the page with the code on.

The issue is:

I have a form field called productColour it has an id of productColour1 I am trying to reference the value of that field when the user clicks on an images button like so:

Input Field:
<input type="text" name="productColour" id="productColour1">

<input type="button" name="imagePopUp" value="Images" onClick="window.open('/admin/imageControl/index.cfm?productColour=document.getElementById("productColour1").value;');">

As you see the javascript is supposed to capture the value in the productColour field append it on to the end of the url query string.

I have tried everything I can think of and now I am off to find a brick wall to smash my head on to.

I hope that someone more knowledgeable than me could shed some light problem.