Selecting elements that are descendants of another element

In this post of JQuery, I will show how to select elements that are descendants of another element. Below is the complete html code that will be used as an example 1 <html> 2 <head> 3 https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js 4 </head> 5 <body> 6 7 function selectDescendantElement() { 8 var $element = $(‘div li’); 9 alert($element.length); 10…… Continue reading Selecting elements that are descendants of another element

Selecting elements that are direct children of another element

In this post of JQuery, I will show how to select elements that are direct childrens of another element. Below is the complete html code that will be used as an example 1 <html> 2 <head> 3 https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js 4 </head> 5 <body> 6 7 function selectElementByHierarchy1() { 8 var $element = $(‘#Items1 > li’); 9…… Continue reading Selecting elements that are direct children of another element

Adding Step Level Listeners using StepExecutionListener

In this post of Spring Batch, I will explain how to add step level listeners. Spring Batch provides a facility to add listeners at step level. The listeners are executed before the step is started and after the step is finished. This post explains how to create step level listeners and integrate them with the…… Continue reading Adding Step Level Listeners using StepExecutionListener

Quartz JobDataMap Example Part 1

In this post of Quartz scheduler, I will explain what is JobDataMap and how to use it. JobDataMap is an implementation of java Map interface. In addition to the methods of Map interface additional methods are added for storing and retrieving primitive types. JobDataMap holds data as a key value pair. It is used to…… Continue reading Quartz JobDataMap Example Part 1