if I have a checkbox and the value I want to make it a link
CODE: SELECT ALL
<a href="uppdate02.cfm?id=(checkbox value)">Uppdatera</a>
this is the code i am using (it is a recordset written in coldfusion)
CODE: SELECT ALL
<cfoutput query="recTest">
<table width="561" border="1">
<tr>
<td width="43"><form id="form1" name="form1" method="GET" action="uppdat02.cfm">
<input type="checkbox" name="id" id="YesNo" value="#recTest.AlbID#"/>
<input type="submit" value="Submit" />
</form> </td>
<td width="502">#recTest.Album#</td>
</tr>
</table></cfoutput>
I want the value from YesNo should be in the link if I have a checkbox and the value I want to make it a link
I have tried to make it work with javascript
CODE: SELECT ALL
<a href="#" onclick="return this.href='uppdate02.cfm?id='+document.getElementById('YesNo').value" >Uppdatera</a>
but then he sees only the first recordset and not the others.
would need assistance to get to so it is possible to create an update / delete link for the form
CODE: SELECT ALL
uppdate02.cfm?id=(checkbox value)
North America
Europe, Middle East and Africa
Asia Pacific