What do you want to save?
Add Code snippet
New code examples
-
Javascript 2021-10-11 16:43:02
angular google maps my location button
var map, faisalabad = {lat:31.4181, lng:73.0776}; function addYourLocationButton (map, marker) { var controlDiv = document.createElement('div'); var firstChild = document.createElement('button'); firstChild.style.backgroundColor = '#fff... Add solution -
Html 2021-10-03 21:51:02
how to add see button in password input in html
togglePassword.addEventListener('click', function (e) { // toggle the type attribute const type = password.getAttribute('type') === 'password' ? 'text' : 'password'; password.setAttribute('type', type); // toggle the eye / eye slash icon ... Add solution -
Javascript 2021-09-27 20:45:02
js copy paragraph onclick
var copy = document.querySelectorAll(".copy"); for (const copied of copy) { copied.onclick = function() { document.execCommand("copy"); }; copied.addEventListener("copy", function(event) { event.preventD... Add solution -
PHP 2021-09-06 21:08:02
laravel download file from storage with progress bar
<script type="text/javascript"> $(".download").click(function(){ window.location.href = 'file/30mb.pdf'; //set your file url which want to download var data = []; for (var i = 0; i < 100000; i++) { var tmp... Add solution -
Javascript 2021-08-28 23:05:01
change the body background color with javascript checkbox using
blue=document.getElementsByClassName("check1")[0] red=document.getElementsByClassName("check2")[0] yellow = document.getElementsByClassName("check3")[0] function colors(color) { document.body.style.backgroundColor = color... Add solution