سُلَيْمَان بْن دَاوُوْد
Jan 25, 20231 min read
Google ReCAPTCHA with AJAX
This is how you can pass on AJAX .js var userdata = { 'action' : 'signin_member', 'username' : jQuery('#user_name').val(), 'password' :...
This is how you can pass on AJAX .js var userdata = { 'action' : 'signin_member', 'username' : jQuery('#user_name').val(), 'password' :...
The function starts with (function ($) { and you can use your own code inside it (function ($) { jQuery(document).ready(function () {...
jQuery(document).ready(function () { jQuery('.processreachfind').click(function(e){ e.preventDefault(); jQuery('html, body').animate({...
/*footerpoupsubmit*/ jQuery('#footerpoupsubmit').click(function() { setCookie('popupclosed', 'yes', 1); jQuery.ajax({ type: 'POST', url:...
var maxHeight = 0; jQuery(".wprevpro_t1_DIV_2").each(function(){ if (jQuery(this).height() > maxHeight) { maxHeight =...
<div id="map"></div> <?php if(have_rows('distribution_locations')){ while (have_rows('distribution_locations')) { the_row(); $locations[]...
var getdirectmessage = false; if( jQuery('#message').is(':checked') ){ var getdirectmessage = true; }else{ var getdirectmessage = true;...
The functions.php should have a code like this Following code is used to localize the developer.js file function developer_pro_scripts()...
Custom JS code enqueued in active theme functions.php var userdata = { 'action' : 'signin_member', 'username' :...
This would prevent unnecessary error on other pages of focus element not found. var elementExists = document.getElementById("closepopbtn"...
This is generally useful in speed optimisations and can help a lot to reduce load time of pages specially when your site depend heavily...
These are three functions setCookie , getCookie, eraseCookie to deal with cookies on WP site like you want to hide a popup after user...