SOCDetailGroupScoreEdit.js 569 B

123456789101112131415161718192021
  1. $(function () {
  2. $("#Score").keydown(function (ev) {
  3. setTimeout(function () {
  4. $("#dgStudentScoreList").find('td[columnIndex=2] input').val($("#Score").val());
  5. }, 300);
  6. });
  7. });
  8. function onGridLoadSuccess(data) {
  9. if (data && data.rows.length > 0) {
  10. $("#dgStudentScoreList").find('td[columnIndex=2] input').keydown(function (ev) {
  11. setTimeout(function () {
  12. $("#Score").val('');
  13. }, 300);
  14. });
  15. }
  16. }
  17. function SOCDetailGroupScore_Save() {
  18. $(document.forms[0]).submit();
  19. }