PHP Classes

File: public/js/common.js

Recommend this page to a friend!
  Classes of Joseluis Laso  >  PHP Telegram CLI Wrapper  >  public/js/common.js  >  Download  
File: public/js/common.js
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: PHP Telegram CLI Wrapper
Send messages and other commands to Telegram users
Author: By
Last change:
Date: 6 years ago
Size: 790 bytes


Class file image Download
function alert(cls, msg, timeout) {
        '<div class="fade in alert alert-'+cls+'" role="alert">'+
        '<button type="button" class="close" data-dismiss="alert" aria-label="Close">'+
        '<span aria-hidden="true">&times;</span>'+
        '</button>' + msg + '</div>'
    }, timeout === undefined ? 5000 : timeout);

var inAjax = false;

$(function() {


    $(document).ajaxStart(function () {
        inAjax = true;

    $(document).ajaxComplete(function () {
        inAjax = false;
For more information send a message to info at phpclasses dot org.