Tag Archive for: "jquery-tips"

  1. JavaScript

    JavaScript: Remove Space From String Examples

    Do you wish to remove space from string using JavaScript? In this article, I am going to share examples on how you can remove space between string very easily. Read on to find out more.

  2. JavaScript

    Prepopulating Textarea With Hint Using JavaScript

    Over the web, at one point of the time or the other, you may have seen websites in which a textarea shows some default value, such as “Enter your comments” and when you click inside of this textarea, this default value vanishes. This is default value is called a “Textarea Hint” as it serves the […]

  3. JavaScript

    Javascript Jump To Div Examples

    At times it might be desirable to jump to a specific div in a web page, just like a named anchor. If you don’t know what a named anchor is, in brief, it is a link within a page, rather than a link to a separate page. So, can we simulate the same behavior, for […]

  4. jQuery

    JavaScript: Count Occurrences Of String In String Examples

    At some point or the other, it might be useful to count the number of occurrences of a specific word or a string in another string using JavaScript. In this article, I am going to share very easy example to do just that with the help of easy to follow examples. Read on to find […]

  5. 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.

  6. 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 […]

  7. 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 […]

  8. 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.

  9. 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 […]