All jQuery For Beginners

jQuery to style Hyperlinks based on URL extension

Yesterday I was working on a requirement where I need to apply different styles to hyperlinks based on their URL extensions. For example, if there are hyperlinks which redirects to ".pdf" extension then change their font color to "Red" so that they look different from other hyperlinks. This was easy to implement using jQuery. What […]
Read the rest of this entry »

jQuery: Show Password without any plugin

When you search "jquery show password" in Google, the first few search results in the list, will be having a jQuery Plugin to toogle password's visibility using checkbox. Plugins are useful but I don't think that a jQuery plugin is required for this. This is easy to achieve with simple jQuery code. In this post, […]
Read the rest of this entry »

jQuery code to get absolute Image Path

It is a common practice to use relative path for images used in web application. The advantage of using relative path is that it can be easily migrated. One can easily migrate the web application from one domain to another without changing path of the images. But there can be a certain situations where you […]
Read the rest of this entry »

Make jQuery contains selector case insensitive

jQuery has ":contains" selector which can be used to select all elements with specific text. But default behavior of contains selector is case sensitive. For ":contains" the word "jquery" and "jQuery" are different. Let's find out using a simple demo. Below jQuery code will hide all the "p" tag element which contains "jquery" as text. […]
Read the rest of this entry »

Detailed guide of how to setup jQuery UI – Part 2

Yesterday I had posted about Detailed guide of how to setup jQuery UI and once you download the jQuery UI library, you'll get a customized zip file containing everything you selected. Once you've downloaded jQuery UI, you'll get a zip containing the following files: /css/ /development-bundle/ /js/ index.html Out of these files, there are 3 […]
Read the rest of this entry »

Detailed guide of how to setup jQuery UI – Part 1

Indeed jQuery UI is a great library but downloading and installing jQuery UI is not straight forward thing. It is slightly more complicated than setting up jQuery and it requires some attention. jQuery UI Library can be downloaded from jQueryUI official website. The downloading process is a little more complex than for other JavaScript libraries. […]
Read the rest of this entry »

Responsive Menu
Add more content here...