JavaScript PreloaderJS | How to Pre / Post Load Assets like Images, CSS, JS files using Preload JS liberary

In this post, we will discuss How to load assets like images, CSS files, js files and another type of files in lazy load manner using Preload JS library. Using Preload we can check how much data is loaded and also check progress in percentage.

Preload Js can be used in a number of scenarios like if we have a number of heavy images then we can show a loader when images are loading in the background, then after the all images are loaded we can show success message or hide loader.

Continue reading JavaScript PreloaderJS | How to Pre / Post Load Assets like Images, CSS, JS files using Preload JS liberary

Hide or Close Div Using Escape Key JavaScript | jQuery | AngularJS

Esc key on our keyboard can be useful even in Web pages and applications. We can use Esc key to close dialogue boxes or any custom popup modals. Here we will discuss even handling on ESC key press in which we can fire any event we want.

Continue reading Hide or Close Div Using Escape Key JavaScript | jQuery | AngularJS

How to Get Selected Value in DropDown List using jQuery JavaScript?

In this post, we will discuss the various method in jQuery and JavaScript to get value selected in DropDown. In Javascript, it becomes a bit tricky to fetch selected values, but in jQuery, we have some predefined and easy methods to fetch values from form fields like drop down.

Continue reading How to Get Selected Value in DropDown List using jQuery JavaScript?