...
...

International phone number validation using jquery

Javascript, jQuery, Tutorials | 06 February 2019

A way to check whether a phone number is correct with and without country code, with (+) or with (-), with space between numbers, different lengths of numbers validation of any phone numbers.

View More

...

Submit form when hitting enter using jquery

jQuery, Tutorials | 23 January 2019

Submit form when hitting enter using jquery.Submit HTML form when enter key press. For this we need to write script for form submitted through form id when enter key click event is fired.

View More

...

Click anywhere on Page except Specific div in jQuery

jQuery, Tutorials | 10 January 2019

How can I trigger function if I click anywhere on the page except one div element ? Here we will see how to click anywhere on Page except Specific div in jQuery. Here take and example, suppose the div or element ID is “ccEle”. You can apply click on body of document and cancel click processing if the click event is generated by div with id ccEle, This will bind

View More

...

How to disable datatable warning message by jquery

jQuery, Tutorials | 02 January 2019

Disable javascript error/warning for datatable reinitialization for add more features like pagination, sorting order, add more filters in particular column. Prevent datatable reinitialize error using this.

View More

...

Turn off enclosing p tags in CKEditor

jQuery, Tutorials | 26 December 2018

In this post, we are going to show how remove p tags auto add in ckeditor content while store in database using set ckeditor autoparagraph false in script

View More

...

jQuery active class based on the page url

jQuery, Tutorials, Wordpress | 23 August 2018

Sometimes we need to add active class to our custom menu items or sidebar menus. Simple bit of jQuery to add an active class to the current navigation item based on the page url.

View More

...

How to Defer Parsing of JavaScript in WordPress

jQuery, Tutorials, Wordpress | 09 July 2018

There are a few reasons why we should defer parsing of JavaScript in WordPress. The most important one is speed and performance. Generally, JavaScript is placed between the head tags. When opening a website, it loads the code from top to bottom. This means that if you have lots of JS or long strings, it will take more time for the website’s content to appear, as it first waits for all the JavaScript to load.

View More

...

TypeError: ‘undefined’ is not a function (evaluating ‘$(document)’) In WordPress

jQuery, Tutorials, Wordpress | 04 July 2018

Wordpress uses jQuery in noConflict mode by default. You need to reference it using jQuery as the variable name, not $.
Replace “jQuery(document);” in place of “$(document);”

View More

...

jQuery Match Height of Two Divs

CSS, HTML, jQuery, Tutorials | 13 June 2018

Here we will see how to equal height columns dynamic content with jQuery :

View More

1/2Next