Here is a very cool way to input color code using a basic HTML input tag. This may eliminate the use of a fancy jQuery color picker at a basic level 🙂 Demo Open demo in a full window – https://demos.webdevpuneet.com/html/input-color/index.html HTML <input...
How to prevent form from submission if user has not gone through Google ReCapcha ?jQuery(document).ready(function(j){ jQ(‘#formid’).submit(function(e) { var recaptcha = j(“#g-recaptcha-response”).val(); if ( recaptcha === “” )...
You must have faced this issue such that the background changes on hovers on mobiles and touch devices remain hover-styled even after you have touched the screen and not touching it anymore. The simple solution to this is enclosing all hovers in the following media...
// Extra small devices (portrait phones, less than 576px) @media (max-width: 575.98px) { … } // Small devices (landscape phones, 576px and up) @media (min-width: 576px) and (max-width: 767.98px) { … } // Medium devices (tablets, 768px and up) @media...
Today I met with a serious issue with Bootstrap 4 Tooltip, I think this problem is with other bootstrap versions also. So the tooltip was not going away when the element is clicked on Internet Explorer – Windows OS and Ipad also. I do not have a Mac but I guess...