-->

jQuery blur() Method

Bipin C Mathew 9 months ago

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.

Categories:
JavaScript jQuery
Stats:

jQuery attr() Method

Bipin C Mathew 9 months ago

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, valueSpecifies the value of the attribute, function(index,currentvalue)Specifies a function that returns the attribute value to set.

Categories:
JavaScript jQuery
Stats:

jQuery :last-child Selector

Bipin C Mathew 9 months ago

The :last-child selector lets you select every element that is the last child of its parent, while the:last selector selects only the last one from the element set.

Categories:
JavaScript jQuery
Stats:

jQuery :visible Selector

Bipin C Mathew 9 months ago

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;

Categories:
Stats:

jQuery :hidden Selector

Bipin C Mathew 9 months ago

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.

Categories:
JavaScript jQuery
Stats:

jQuery :first-child Selector

Bipin C Mathew 9 months ago

The :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.

Categories:
JavaScript jQuery
Stats:

jQuery :nth-child() Selector

Bipin C Mathew 9 months ago

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.

Categories:
JavaScript jQuery
Stats:

jQuery :even Selector

Bipin C Mathew 9 months ago

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.

Categories:
JavaScript jQuery
Stats:

jQuery element Selector

Bipin C Mathew 9 months, 1 week ago

The Element Selector Selects all elements with the given tag name. In the Element Selector we can list the names of the element to be selected in the parenthesis. For example $("h2") will select all h2 element of the HTML page, similarly $("p") will select all the paragraph elements of the page.  We can use the element selector to select an element whose name is passed in the parenthesis inside $().

Categories:
JavaScript jQuery
Stats:

Let us talk!

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.