create.oa.html.hook.php 366 B

123456789101112
  1. <script>
  2. $(function()
  3. {
  4. $('#trip').closest('tr').hide();
  5. $('#begin, #end, #hours, #overtime').parent().addClass('required');
  6. /* Button in the middle. */
  7. $('#ajaxForm tr:last th').remove();
  8. $('#ajaxForm tr:last td:last').remove();
  9. $('#ajaxForm tr:last td').attr('colspan',3);
  10. $('#ajaxForm tr:last').addClass('text-center');
  11. });
  12. </script>