PHP Classes

File: DebugConsole/Javascripts/Log.js

Recommend this page to a friend!
  Classes of Michele Pagnin   MToolkit   DebugConsole/Javascripts/Log.js   Download  
File: DebugConsole/Javascripts/Log.js
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: MToolkit
PHP Web application framework that supports MVC
Author: By
Last change:
Date: 9 years ago
Size: 580 bytes
 

Contents

Class file image Download
function Log() { } Log.prototype.filterTable = function () { var key = $("#SearchTextBox").val().toLowerCase(); $("#LogTable tbody tr").each(function () { if ($(this).children(".TagCell").html().toLowerCase().indexOf(key) >= 0 || $(this).children(".TextCell").html().toLowerCase().indexOf(key) >= 0) { $(this).show(); } else { $(this).hide(); } }); }; $(function () { var log = new Log(); $("#SearchTextBox").keyup(function () { log.filterTable(); }); });