Category Archive for: "Tips and Tricks"

  1. jQuery

    Selecting First Element Of Type Using :first-of-type Selector in jQuery

    The :first-of-type selector is another helpful selector in jQuery. It basically selects all elements that are the first among siblings of the same element name. That said, let’s take a look at quick examples on how to use it in real time to select any element that we need.

  2. jQuery

    Selecting First Level Child Using :first-child Selector In jQuery

    If you have many elements in a web page but need to select only the first one among them and perform your operation on it, what would you do? If you don’t have an answer, then this article is for you. In this article, I am going to share very easy way to perform operations […]

  3. jQuery

    How To Convert Text String To Upper Case Using jQuery

    As can be seen from my previous article, string maipulation can be really helpful when using jQuery. That said, do you know how to convert an existing string of text to uppercase i.e. make all characters upper case. In this article, I am going to share easy examples with demos that show you how to […]

  4. jQuery

    How To Convert Text String To Lower Case Using jQuery

    When using jQuery, at times it would be helpful to know how to convert an existing string of text to lowercase i.e. make all characters lower case. In this article, I am going to share easy examples with demos that show you how to do so. Read on for more.

  5. Tips and Tricks

    WordPress: Get Count For Approved Comments Outside The Loop

    If you are a Web Developer and you work with WordPress, then there may have been a situation where you needed to get the count for  comments that were only in “Approved” state for a specific post. Note that this is different from the total comments count. So do you know how to get the […]

  6. jQuery

    jQuery :parent Selector Examples

    The jQuery parent selector basically select all elements that that have at least one child node. This child node could be either an element or text. That said, we will see how to use the :parent selector by means of easy to follow examples. Read on to find out more.

  7. jQuery

    jQuery :has() Selector Examples

    The jQuery has selector basically selects elements which contain at least one element that matches the specified selector. So this means that for any occurrence of a target within the source, the target is considered to be found. Confusing? Don’t worry. In this article, I am going to share easy examples that show you how to use the […]

  8. jQuery

    jQuery :root Selector Examples

    The jQuery root selector basically selects the element that is the root of the document. So in this article, I am going to share examples on how to use it in real time. Read on to find out more.

  9. jQuery

    jQuery :header Selector Examples

    The jQuery header selector is used to selects all elements that are headers. This means that you will be able to easily target the heading tags such as h1, h2, h3, h4, h5 and h6. In this article, I am going to share easy examples of using the :header selector.