hi
i encountered this problem. I used cfwddx to convert my queries into javascript
arrays. Purpose is to be able to update the specific row in the array upon change.
Thus Upon onchange event of my form elements, it would go into a javascript function
to set the value changed into the js wddx array. However when i was using textarea,
very strangely the "enter" keystroke was not captured in the array. In fact it was
removed from the string value once i set it into the js wddx array.
An example will be like the one below
<input type="textarea" wrap="virtual" onchahge="fn_Update( wddxName, this.name, 0 )"
name="address">
<script language="javascript">
wddx_insert = 1;
wddx_update = 2;
function fn_Update ( wddxName, fieldName, intRowNum ) {
obj = eval(wddxName + '.' + fieldName + '[' + intRowNum + ']')
obj = strValue ;
if ( eval(wddxName + '.action' + '[' + intRowNum + ']' ) != wddx_insert ) eval(
wddxName + '.action' + '[' + intRowNum + ']' + '='+ wddx_update )
}
</script>
this function is supposed to set the strValue passed in into the array, then update
the action fieldname to wddx_insert. So that upon saving , i would like which rows was
amended.
Have anyone came across this bug ? Or did i do it wrongly?
**********************************************************************
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.
This footnote also confirms that this email message has been swept by
MIMEsweeper for the presence of computer viruses.
www.mimesweeper.com
**********************************************************************
______________________________________________________________________
Structure your ColdFusion code with Fusebox. Get the official book at
http://www.fusionauthority.com/bkinfo.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists