A few days back I across this situation and it took me some time to figure this out. Here’s the situation. I have a form (a web page) with few input elements on it. I also included “ScriptManager” an ...
Using jQuery is() method with the :checked and :not() selector, you can easily check the status of a checkbox or a group of checkboxes on a web page. With the “status”, I mean if any checkbox or multi ...
Web developers using Asp.Net, commonly use the GridView control to display data in a tabular format. The GridView comes with many useful features, especially paging. Here in this post I’ll show you ...
Let us assume I have a list of images inside a DIV element along with other elements. I specifically want to check if the element is an Image. I can use the tagName property in JavaScript to check if ...
In jQuery, you can use the .click() method to trigger a click event. This method works with almost every element. However, the .click() method does work on elements that you will create dynamically ...
Here I am sharing a simple tip on how to get the number from an HTML element’s ID using jQuery. The element that you use can be a DIV or an input box. Now, sometimes we might add numbers to the ...
In one of my previous article, I have explained with an example on how to check if the URL bar contains a given string using JavaScript or jQuery. Now here in this article, I’ll show you how to repl ...
The example in this article is an extension of my previous article on how to add or remove HTML elements dynamically using jQuery. The previous article is very popular, however programmers, especially ...
The URL bar or the Address bar of a web browser contains the address of a website. The URL also contains parameters or arguments, which we often define dynamically to communicate with elements or obje ...
I have previously shared few examples on how to call WebMethods in Asp.Net using jQuery Ajax. I am not going in explain in detail about Web Methods, but I’ll use a Web method, though. In this post, ...