Hello. I have a problem with javascript code: I need to disable a fild and I use this code
var cn1e1 = ‘id_sc_field_n1e1_’+x; (where x is the order of the record on the screen)
document.F1[cn1e1].disabled = false;
It works, because it disables the filed. But when I see the browser Development Tools, I can see that it mark this code as incorrect:
TypeError: document.F1[cn1e1] is undefined
Can anybody tell me where is the problem?
Thank you very much
Sergio