Lots of images in a site can take much time to load. For each and every request there is another HTTP request and requires more times to wait, causes pages load slowly. Here we have put together a collection of lazy loading plugins for images with options and settings. List of lazy load plugins: Advanced […]
Search: “what is ai”
We found 4,542 results for your search.
MySQL GROUP_CONCAT() maximum length
Here in this tutorial, you will learn how you can use the MySQL GROUP_CONCAT() function to concatenate strings from a group with various options. There are many cases where you can apply the GROUP_CONCAT() function to produce useful results. In MySql, GROUP_CONCAT() is used to convert multiple rows into a single string. However, the maximum length […]
jQuery provides various methods to remove elements from DOM i.e. .empty(), .remove() and .detach(). So lets find out the difference between jQuery .empty(), .remove() and .detach() method. .empty(): jQuery .empty() method removes all the child element of the matched element where remove() method removes set of matched elements from DOM. $( “.content” ).empty(); remove(): jQuery […]
jQuery post() Method loads data from the server using a HTTP POST request. Syntax: $(selector).post(URL, data, function(data,status,xhr), dataType) Example of jQuery post(): $.post( “ajax-master.php”, function( data ) { $( “#result” ).html( data ); }); The above example fetches the requested HTML snippet and inserts it on the page based on ID. Read also: Abort Ajax […]
Building the Ultimate Landing Page
A good landing page is the cornerstone of online marketing campaigns, and since it is usually the first area users learn about new products and services. It has to be well executed. However, leaving a good first impression is not easy. Everything has to look and feel right. In this brief guide, Toptal Freelance Software […]
Design workflow is tricky thing when it comes to UI and UX. Follow the tricks and tips in this tutorial to deliver better UI/UX on time. Without sacrificing the quality of the user interface and user experience what UX developer does to ensure the product they have built is delivered in a timely manner? The […]
In jQuery, there is an object iterator utility called $.each() as well as a jQuery collection iterator: .each() to run for each matched element. We can return false to stop the loop early. Syntax: $(selector).each(function(index,element)) Basically, $.each() is essentially a drop-in replacement of a traditional for or for-in loop. So, .each is an iterator which […]
Abort Ajax requests using jQuery
Using jQuery abort() you can cancel a running AJAX request forcefully before it ends as this hits several times within a short time period. This is usually in cases where the user might perform an action, based on AJAX request several times within a short time period. For example, There is a auto-complete functionality for […]
Using jQuery prop() method you can enable or disable a form element. From jQuery 1.6+ you can use jQuery prop() method. You can enable or disable an elements on a page dynamically with jQuery by setting their attributes accordingly. For jQuery 1.5 and below the .prop() function doesn’t exist, but .attr() method does similar thing. […]
There is a significant difference between using jQuery extend() with passing one argument and doing it with two or more arguments. Basically, jQuery.extend() merge the contents of two or more objects into the first object. $.extend() is used to extend any object with additional functions but $.fn.extend() is used to extend the $.fn object, which […]