Archive for September, 2010

How to scroll to the bottom of a textarea using jQuery

Today I came across a situation where in textarea control, text was appended from code behind (.NET code) on button click. But the actual concern was that appended text is not visible to the end user as textbox area shows text from the top. So I looked into jQuery to find solution of it and […]
Read the rest of this entry »

Use jQuery and Ajax together with ASP.NET Master pages

I had previously posted about "jQuery does not work properly after ajax partial postback" and the best possible solution was to put all your jQuery code in pageLoad() function instead of document.ready(). This works great. But this will not work when you are using ASP.NET master page feature and you have jQuery code in master […]
Read the rest of this entry »

Things to remember while using jQuery with ASP.NET Master Pages

jQuery is great library but if not used properly then it can make you crazy. If you are using ASP.NET Master Page and planning to use jQuery as well then it is quite important to know few things otherwise your code is not going to work. I have prepared a checklist which you should remember […]
Read the rest of this entry »

How to change jQuery UI Slider value from textbox in ASP.NET

I had recently posted about how to use jQuery slider with ASP.NET which I had also used for my client. But my client came up with one more requirement which is user can either select value from slider or can enter in a textbox. Based on the value entered in textbox, slider value should also […]
Read the rest of this entry »

Implement jQuery UI slider with ASP.NET

jQuery UI provides slider widget which can be used for inputs where range is defined or fixed like we have in various color pickers for RGB. The biggest advantage of slider is that you are not concerned about the validation of the input value as range is fixed and user can't input value beyond the […]
Read the rest of this entry »

How to detect chrome using jQuery

Before you read this post, I suggest you read my previous post about "Detect browsers using jQuery". jQuery provides a property to detect the browser. It works well for IE, mozilla, Safari and opera browser but it doesn't work for Google Chrome. Well, if you have installed chrome on your machine and safari is not […]
Read the rest of this entry »