The change method is a Jquery Event Method. It is an inbuilt method occurs when the value of an input field has been changed (only works on <input>, <textarea> and <select> elements). The change() method triggers the change event, or attaches a function to run when a change event occurs.
The Blur is a Jquery Event Method. It occur when elements loses there focus. We can use blur with focus method. This event was commonly used only for elements of the form such as
<input>. It has been expanded to include all types of elements in recent browsers.
The attr() is a Jquery HTML/CSS Method. It is used to set or return attributes and values of the selected elements. When this method is used to return the attribute value, it returns the value of the FIRST matched element. When this method is used to set attribute values, it sets one or more attribute/value pairs for the set of matched elements. The parameters used in this method are attribute - Specifies the name of the attribute, value- Specifies the value of the attribute, function(index,currentvalue)- Specifies a function that returns the attribute value to set.
We can simply select all the visible elements on an HTML page using the visible selector. The j Query visible selector considered an element visible if they consume space in the document. That means elements with visibility hidden; or opacity: 0; are considered visible since they still preserve space in the layout. The visible selector is the opposite of the hidden selector. Therefore, not every item selected by visible is selected by
:hidden and vice versa. The elements not included in a file are considered to be hidden;
We can simply select all the hidden elements on an HTML page using the hidden selector. Hidden elements are form elements with
type="hidden". That is we can select all hidden elements using the
:hidden selector in jQuery. Elements not included in a document are not considered to be visible, jQuery has no way of knowing if they will be visible because it depends on there styles. Hidden or opacity: 0 is considered as visible since they still consume layout space. The hidden selector is the opposite of the visible selector. Therefore, not every item selected by hidden is selected by
:visible and vice versa.if the element is hidden so that element is not shown on the page.
:first-child selector lets you select every element that is the first child of a parent element while th :first selector selects only the first one from the element set. We use the
.prepend() method to insert the element as a first child using jQuery.
The nth-child selector selects all elements that are nth-child of its parent. The
div:nth-child(2) will select the second
<div> inside any container that has two or more direct
<div> children. if you wanted to get at the fourth list item, In that case, the appropriate selector would be
nth-child(4). The Jquery implementation of the nth selector is derived from CSS specification.
Even is the simple mathematical term, An Even number is an integer which is multiple of two. The
:even selector selects an odd index like 1, 3, 5, 7.. etc for each table row. The Even Selector selects the first element, third element, and so on . The even selector is an extension of jQuery and not part of the CSS specification.
We take the vision which comes from dreams and apply the magic of science and mathematics, adding the heritage of our profession and our knowledge to create a design.