What do you want to save?
Add Code snippet
New code examples
-
Javascript 2022-01-23 07:26:11
how to get href value of anchor tag in jquery in list
<div class="getval"> <a href="https://wlearnsmart.com/">W learn Smart</a> </div> <script type="text/javascript"> $(document).ready(function() { $('.getval a').click(function() { ... Add solution -
Javascript 2022-01-22 20:40:08
how to check if a user is logged in javascript
jQuery(window).load(function() { //Set the login session sessionStorage.setItem('status','loggedIn') }); //Check the login session if (sessionStorage.getItem('status') != null)) //redirect to page console.log('You are logged in'); } else{ ... Add solution -
Javascript 2022-01-22 19:21:28
discord.js check every x minutes
var checkminutes = 10, checkthe_interval = checkminutes * 60 * 1000; //This checks every 10 minutes, change 10 to whatever minute you'd like setInterval(function() { message.channel.send("hello world"); //Or anything else }, checkthe_interval); Add solution -
Javascript 2022-01-22 13:46:34
fnserverparams aodata push custom filter
$(document).ready(function() { $('#example').dataTable({ "bProcessing": true, "bServerSide": true, "sAjaxSource": "/IndexXhr", "fnServerParams": function (aoData) { var includeUsu... Add solution -
PHP 2022-01-22 12:55:08
ajax request for inserting php data to db
<!DOCTYPE html> <html> <head> <title>Insert data in MySQL database using Ajax</title> <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css"> <scrip... Add solution
Best helpers
Ranking is empty