33 lines
631 B
JavaScript
33 lines
631 B
JavaScript
M.report_traspasonotasexam = {};
|
|
|
|
M.report_traspasonotasexam.init = function(Y) {
|
|
|
|
Y.all('#activcurs input[type=radio]').on('click', function(e) {
|
|
var valor = Y.one("input[type=radio][name^=activ]").getAttribute('value');
|
|
alert('listo');
|
|
});
|
|
|
|
Y.on('submit', function(e) {
|
|
// Y.all('input[type="radio"]').each(function(t) {
|
|
// var valor = t.one('#activcurs').getAttribute('value');
|
|
// alert(valor);
|
|
|
|
// });
|
|
|
|
var valor = Y.one("input[type=radio][name^=activ]").getAttribute('value');
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
}, '#gradesform');
|
|
|
|
|
|
|
|
};
|
|
|