B
Brad
I have the following function:
function updaterec(i, callid){
var theExp = new RegExp(callid, 'gi');
var x = document.getElementById(i.id.replace(RegExp,'tb_linechage'));
x.value = 'Y';}
I call this function with:
updaterec(this, 'tb_assigneddt'); // this =
dl_inspectionlist__ctl1_tb_assigneddt
I want to update dl_inspectionlist__ctl1_tb_linechage but
dl_inspectionlist__ctl1_tb_assigneddt keeps updating itself instead.
What am I missing?
Any help is greatly appreciated.
Thanks,
Brad
function updaterec(i, callid){
var theExp = new RegExp(callid, 'gi');
var x = document.getElementById(i.id.replace(RegExp,'tb_linechage'));
x.value = 'Y';}
I call this function with:
updaterec(this, 'tb_assigneddt'); // this =
dl_inspectionlist__ctl1_tb_assigneddt
I want to update dl_inspectionlist__ctl1_tb_linechage but
dl_inspectionlist__ctl1_tb_assigneddt keeps updating itself instead.
What am I missing?
Any help is greatly appreciated.
Thanks,
Brad