oadr_ujs.js 489 B

1234567891011121314151617181920212223242526
  1. // $j = jQuery.noConflict();
  2. jQuery(document).ready(function($) {
  3. try
  4. {
  5. $("input.datepicker").datepicker({ dateFormat: "yy-mm-dd" });
  6. $('#targets-tabs a').click(function (e) {
  7. e.preventDefault();
  8. $(this).tab('show');
  9. });
  10. $(".ajax-form").submit(function() {
  11. $(".processing").show();
  12. });
  13. $(".processing").hide();
  14. // sample code to activate a certain tab
  15. // $("#tabs").tabs({active: 1});
  16. }
  17. catch (err)
  18. {
  19. alert(err);
  20. }
  21. });