Search
 
SCRIPT & CODE EXAMPLE
 

PHP

add class to all text input wordpress

function my_footer_script() { ?>

	<script type="text/javascript">
			
		jQuery(document).ready(function($) {
			$('input, textarea').addClass('data-hj-whitelist');
		});
		
	</script>

<?php }
add_action('wp_print_footer_scripts', 'my_footer_script');
Comment

PREVIOUS NEXT
Code Example
Php :: model coomad laravel 
Php :: prosedur dan fungsi dengan php 
Php :: @parent, @include, @show blade in laravel 
Php :: datatables compactible with bootstrap v4 
Php :: show limited words from the_content php 
Php :: laravel belongsto nested 
Php :: PHP readfile() Function 
Php :: PHP sscanf — Parses input from a string according to a format 
Php :: how to make text bigger in php file 
Php :: import csv file in laravel 8 
Php :: flask like framework for php 
Php :: laravel first or with callback 
Php :: find sum of each group in laravel 
Php :: lervel php 
Php :: how to generate unique alphanumeric 6 digit code through php myadmin 
Php :: php retrieve data from database and show in text area greeper 
Php :: dequeue recaptcha wordpress 
Php :: Compare current time with another time in PHP 
Php :: larave per page int returns string 
Php :: add header image to woocomerce shop page 
Php :: add image thumb on checkout woo 
Php :: codeigniter database metadata 
Php :: wordpress code 
Php :: Start composer on DAFP 
Php :: snippet doctrine orm with types 
Php :: jsondecodephparray 
Php :: laravel view not created using foreign keys 
Php :: laravel tinker to test email on server 
Php :: remove public from url laravel 7 
Php :: Eine Breadcrumb-Navigation ohne Plugin erstellen 
ADD CONTENT
Topic
Content
Source link
Name
9+6 =