What do you want to save?
Add Code snippet
New code examples
-
PHP 2021-10-09 03:53:07
oprn nested table on click on table rows
/* Formatting function for row details - modify as you need */ function format ( d ) { // `d` is the original data object for the row return '<table cellpadding="5" cellspacing="0" bor... Add solution -
Javascript 2021-10-06 22:31:04
change background color on button click in javascript
<style> .bg1 { background-color: red; } </style> <button id="btnChangebgColor" /> <script> $(document).ready(function(){ $("#btnChangebgColor").click(function() { $(this).addClass(&quo... Add solution -
Javascript 2021-10-05 07:55:03
simple parallax button scrolling jquery codepen
/* jQuery codes for smooth scrolling. The following code is from https://css-tricks.com/snippets/jquery/smooth-scrolling/*/$(function() { $('a[href*=#]:not([href=#])').click(function() { if (location.pathname.replace(/^\//, '') == this.pathname.repl... Add solution -
Javascript 2021-10-04 12:36:02
javascipt toggle two buttons
function bindButtons(){ var buttons = $('#buttons button'); buttons.on('click', function(e){ var $this = $(this); buttons.removeClass('selected').addClass('disabled'); $this.addClass('selected').removeClass('disabled'); switch ($this... Add solution -
Other 2021-10-02 08:55:04
how to click on the datepicker date in jquery
$("#myDatePicker").datepicker({ // The hidden field to receive the date altField: "#dateHidden", // The format you want altFormat: "yy-mm-dd", // The format the user actually sees dateFormat: "dd/... Add solution -
Other 2021-09-28 05:46:02
add modal.open class to body
this.$body.addClass('modal-open') Add solution
Best helpers
Snagulus
+5
Adam Dexter
+5
Gbarry
+5
ANeves
+5
Hi-yi
+5
Wolf
+5
Rajesh Paul
+5
Scared Guy
+5
Nathaniel
+5
Freddie
+5
Naved Ame
+5
John Kuhl
+5
IberoMedia
+5