What do you want to save?
Add Code snippet
New code examples
-
Javascript 2021-09-20 15:07:04
Uncaught TypeError: jQuery.browser is undefined
var matched, browser; jQuery.uaMatch = function( ua ) { ua = ua.toLowerCase(); var match = /(chrome)[ \/]([\w.]+)/.exec( ua ) || /(webkit)[ \/]([\w.]+)/.exec( ua ) || /(opera)(?:.*version|)[ \/]([\w.]+)/.exec( ua ) || /(m... Add solution -
TypeScript 2021-09-20 11:44:02
how to check is value exists in array
var fruits = ["Apple", "Banana", "Mango", "Orange", "Papaya"]; // Check if a value exists in the fruits array if(fruits.indexOf("Mango") !== -1){ alert("Value exists!&q... Add solution -
Javascript 2021-09-20 09:31:03
filter bootstrap
// filter table by input type text element $(document).ready(function(){ $("#myInput").on("keyup", function() { var value = $(this).val().toLowerCase(); $("#myTable tr").filter(function() { $(this).toggle($(t... Add solution -
Javascript 2021-09-20 03:46:03
javascript check if two arrays of objects have same elements
var isEqual = function (value, other) { // Get the value type var type = Object.prototype.toString.call(value); // If the two objects are not the same type, return false if (type !== Object.prototype.toString.call(other)) return false; // If items... Add solution -
Javascript 2021-09-18 19:04:02
jquery select plugin
//place css in head <link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/select2.min.css" rel="stylesheet" /> //Place it before closing body tag above the below code <script src="https://code.jquery.c... Add solution