This question is locked. New answers and comments are not allowed.
I am trying to set default values to 0 for a field in my grid using the javascript method below. It is not working.
function onEdit(e) {
var writtenExam = $(e.form).find("#writtenExam");
writtenExam.val(0);
// writtenExam.val()=0
}
I guess the syntax is wrong. Can anyone correct this please?
Thanks
Anita
function onEdit(e) {
var writtenExam = $(e.form).find("#writtenExam");
writtenExam.val(0);
// writtenExam.val()=0
}
I guess the syntax is wrong. Can anyone correct this please?
Thanks
Anita