Below is the simple script to get country from IP: $.get("http://ipinfo.io/"+ip, function (response) { //response.country); //response.region); }, "jsonp"); Here is how you can use...
Headroom.js is a lightweight, high-performance JS widget (with no dependencies!) that allows you to react to the user's scroll. The header on this site is a living example, it slides out of view w...
While working with ASP.NET multiline textbox I realized that MaxLength property was not working, it seems it was bypassed by ASP.NET engine. I decided to write a small JavaScript piece of code in orde...
While working with IE7 one of our pages was giving Operation Aborted error. I was getting the following screen: The reason for this error was that I was trying to add new elments to body tag via scrip...
If you want to load external JavaScript file dynamically i.e via JavaScript code you can take help from the following code: var loadJs= function (src, callback) { var s = document.createElement('s...
Below is the code to show how to pass params to jquery trigger function: $('#TestAnchor').on('foo', function(event, param1, param2) { alert(param1); alert(param2); }); $('#TestAnch...
After upgrading IE to IE10 on my machine (Windows 7 64 bit) I was facing weird issues with ajax "POST" calls. The data was not posted to server with IE10, I confirmed that with fiddler . The...
We started getting this error in jquery.layout.js plugin after upgrading our application to latest j
jQuery provides a nice method isArray to check whether a variable is array or not. Below is the samp
In this blog I will show you how to change the text of "Play again" button flowerplayer video player
The trick here to show loading/spinner icon while iframe loads the content is to set the background
I was facing one issue with facebox modal while showing dynamic content in the modal. It was not com
A person on the forums was struggling with jQuery tools tabs index issue on postback. On clicking th
I was working with jQuery tools tabs today and I had to set the initial index of tab selected by def
http://stackoverflow.com/questions/499126/jquery-set-cursor-position-in-text-area
If you've been following my posts so far, you should have a good overview of jQuery Mobile, it's documentation, how to set up your Visual Studio environment, and the structure of a jQuery Mobi...
Normal 0 false false false MicrosoftInternetExplorer4 In this blog, I will share few useful developer tools for client side scripting . I believe any
Jquery plugin : Fast confirm like javascript confirm
Introduction The aim of the article is to demonstrate how using asynchronous calls made using the jQuery library can maintain an active Session on the
In this blog I will show you how to delay the execution of jquery functions. There are situations where we need to execute a jquery function after som
In this post, I'm going to quickly show you how to create a jQuery Mobile Registration / Signup login dialog box. If you've been following my posts so far, you should have a good overview of jQuery Mo...
Like I said in my last blog post, jQuery Introduction & Tips, I've been following the development of jQuery mobile for some time now. And now that it's finally been released, I've decided to make some...
I've been closely following the development on the jQuery mobile since it's announcement -- and now that jQuery Mobile 1.0 Alpha 2 has been released, I though it would be a good time to see how things...