View Single Post
Old 09-20-2012, 02:48 PM   PM User | #2
rainjam
New to the CF scene

 
Join Date: Sep 2006
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
rainjam is an unknown quantity at this point
FWIW - think I've solved it with a separate function and eval():

Code:
<input type="button" id="butt" value="Go" onClick="whiskaway('<?=$d['ID']?>');" />

<script>
function whiskaway(n) {
  var f = "dupDetail.php?id=<?=$d['ID']?>&dt=" + eval("document.getElementById('dupdate<?=$d['ID']?>').value");
  parent.location=f;
}
</script>
rainjam is offline   Reply With Quote