Skip to content

Instantly share code, notes, and snippets.

document.addEventListener("DOMContentLoaded", () => {
function filterOptionsQuote(str) {
return str.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g, "\\$&" );
};
document.getElementById("filterOptionsInput").addEventListener("input", (event) => {
let eV = event.currentTarget.value;
@PhocaCz
PhocaCz / script.js
Last active December 25, 2018 14:33 — forked from SniperSister/script.js
PhocaFilterScript Vanilla JS
document.addEventListener("DOMContentLoaded", () => {
function filterOptionsQuote(str) {
return str.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g, "\\$&" );
};
document.getElementById("filterOptionsInput").addEventListener("input", (event) => {
let eV = event.currentTarget.value;
@PhocaCz
PhocaCz / pagination.php
Created March 8, 2015 20:52
Phoca Rhein 1.0.2
<?php
/**
* @version $Id: pagination.php 9764 2007-12-30 07:48:11Z ircmaxell $
* @package Joomla
* @copyright Copyright (C) 2005 - 2008 Open Source Matters. All rights reserved.
* @license GNU/GPL, see LICENSE.php
* Joomla! is free software. This version may have been modified pursuant
* to the GNU General Public License, and as distributed it includes or
* is derivative of works licensed under the GNU General Public License or
* other free or open source software licenses.