Search notes:

Javascript tablator

Javascript source (tablator.js)

var tq84 = tq84 || {};

tq84.tablator = function () {

  this.table_ = document.createElement('table');
  this.tbody_ = document.createElement('tbody');

  this.table_.appendChild(this.tbody_);

};

tq84.tablator.prototype.addRow = function() {
    var tr = document.createElement('tr');

    for (var a=0; a<arguments.length; a++) {
      var td  = document.createElement('td');
      td.innerHTML = arguments[a];
      tr.appendChild(td);
    }

    this.tbody_.appendChild(tr);
}

tq84.tablator.prototype.toBody = function() {
      document.getElementsByTagName('body')[0].appendChild(this.table_);
}
Github repository js-tablator, path: /tablator.js

See also

Javascript helpers

Index

Fatal error: Uncaught PDOException: SQLSTATE[HY000]: General error: 8 attempt to write a readonly database in /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php:78 Stack trace: #0 /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php(78): PDOStatement->execute(Array) #1 /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php(30): insert_webrequest_('/notes/developm...', 1758199137, '216.73.216.150', 'Mozilla/5.0 App...', NULL) #2 /home/httpd/vhosts/renenyffenegger.ch/httpsdocs/notes/development/languages/JavaScript/helpers/js-tablator/index(66): insert_webrequest() #3 {main} thrown in /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php on line 78