BigW Consortium Gitlab

jquery.js.coffee 239 Bytes
Newer Older
1 2 3 4 5 6 7 8 9
$.fn.showAndHide = ->
  $(@).show().
    delay(3000).
    fadeOut()

$.fn.enableButton = ->
  $(@).removeAttr('disabled').
    removeClass('disabled')

10 11 12 13
$.fn.disableButton = ->
  $(@).attr('disabled', 'disabled').
    addClass('disabled')