is this possible?

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

hey all,

let's say i have a datagrid.
in that datagrid, i have a template column with a textbox in the ItemTemplate.
i've attached a client-side script to the textbox ("onChange" event).

when i run this i bind the datagrid to a dataset.
And when I change a value in the textbox is there a way to retrieve in
javascript the value that was in the textbox before the change


thanks,
rodchar
 
One way around this is to put either a hidden lable or textbox next to the
control you want to audit, bind it to the same field as the visible control,
and reference that control in the javascript.
 
Thank you very much. This helped.

Morgan said:
One way around this is to put either a hidden lable or textbox next to the
control you want to audit, bind it to the same field as the visible control,
and reference that control in the javascript.
 
Back
Top