I am attempting to make a table data row editable once clicked on but
I am not sure how to show the <tdwith two different states. I've got
it to the point where the <tdis hidden then appears within a cfinput
when clicked on, but not sure where to go from here.
Thanks for looking!
<script language="javascript">
function showField(thisID){
//alert("which: "+which+" more stuff here");
identity = document.getElementById(thisID);
identity.style.display="none";
}
</script>
<tr onclick="showField(#id#);"
onMouseOver="this.style.backgroundColor='##99CCFF' "
onMouseOut="this.style.backgroundColor=''" BGCOLOR="###IIF(CurrentRow
MOD 2, DE ('E5E5E5'), DE ('FFFFFF'))#">
<td id="RestrictDate"><div id="#id#" style="display:inherit"><cfinput
name="RestrictDate" type="text" validate="date" message="you must
enter the date in mm/dd/yyyy format"
value="#DateFormat(RestrictionDate, "mm/dd/yyyy")#"></div></td>