Scroll to top

Blog

I would like to discuss on whatever your requirement will be. Also I feel pleasure to be a part on that. So let’s just the conversation and finish this in efficient way.

How to shrink navbar on scroll ?

Shrink navbar on scroll  <style>.nav_logo_scroll{ width: 120px !important;     transition: all 0.5s linear; margin-left: 45px}.jassi{ width: 100% !important;   transition: all 0.5s linear;}</style> <script>jQuery(document).ready(function($){ $(window).scroll(function() { if($(document).scrollTop() >=1) {

Read More »

How to get warning when exit browser without saving?

Get warning when exit browser without saving <script> jQuery(document).ready(function($){ $(window).unbind(‘beforeunload’); $(“input[type=’submit’]”).click(function(){      $(window).unbind(‘beforeunload’); }); $(“input”).on(“change paste keyup”, function() {   $(window).bind(‘beforeunload’, function(){ return ‘Are you sure you want to

Read More »

How to get(search) record in table with ajax via dropdown?

get(search) record in table with ajax via dropdown Use in main file which you will create  <script src=”<?php echo plugin_dir_url(__FILE__);?>/js/jquery.min.js”></script><script> jQuery(document).ready(function($){ $(“.selectcustomer”).change(function(){ var name = $(“.selectcustomer”).val(); /* alert(name); */ var

Read More »