Category Archive for: "jQuery"

173 Articles available
  1. Demos

    Remove Single Or Multiple Attributes Using jQuery Examples

    When working with different elements of a website, there might be times when you have come across different elements containing a single attribute or multiple attributes. These attributes can, in turn, consist of single or multiple properties. So in this article, I am going to share with you very easy way to get rid of […]

  2. jQuery

    Remove Only One Inline Style Property With jQuery Examples

    At some point of time or the other, you may have come across an element that has inline styles applied to it with multiple properties and their respective values. So do you know of a way to remove a specific property and retain the rest? If not, this article is for you. In this article, […]

  3. jQuery

    Detect Click Outside Element Using jQuery

    Ever wanted to detect click outside an element using jQuery? In this article, I am going to share an easy way to do it and you can apply the same procedure for detecting click outside elements such as div, form, unordered list, etc. Also try the demo to see how it works in real time.

  4. jQuery

    jQuery Checkbox Check / Uncheck Examples

    Among all the form elements, the check box is one of the essential element that we get to work with, almost every day. ┬áSo at one point of time or the other, it might be useful to check a checkbox or uncheck a checkbox dynamically using jQuery. So in this article, I am going to […]

  5. jQuery

    jQuery Check If Div Is Empty Examples

    When working with Divs and jQuery, there might have been a situation when you needed to know dynamically if any given div contains any content at all or not. Based upon this, you might want to trigger an action. So in this article, I am going to share easy ways to find out if a […]

  6. jQuery

    jQuery Change Select Options Examples

    Form element manipulation using jQuery can be of immense help when working with forms. As such, it is desirable to know if the options of a select dropdown list can be changed or not. Well, the answer is yes! We can dynamically change the options of a select dropdown. We can remove existing options (if […]

  7. jQuery

    jQuery Find Value In Array Examples

    Talking about arrays in jQuery, it can be really helpful to know if a value exists in an array or not. That said, in this article, I am going to share examples on how to find if a specific value exists in an array or not using jQuery. Try the demo to see how it […]

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

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