Autogrow Textarea Plugin

Autogrow Textarea is a simple jQuery plugin that allows textareas to grow vertically when text is typed in. Many of you will find this quite familiar, since it is used extensively on social networking giant, Facebook.
You can try out the plugin below:

As you can see, this simple growth comes very naturally to the user. It [...]

Fix “Failed to send your message. Please try later or contact administrator by other way.”

A few days ago I received a mail from a reader, notifying me that my contact form was not working. I use Contact Form 7 on my blog and I was very surprised by the fact that it was not working. It usually is just plug and play.
The error message I was getting was “Failed [...]

5 guidelines for clean, well-presented and perfectly readable code

Good coding is not only about getting a module to work. It’s also about doing things the right way, observing the right practices. Why? Simply because at some point, the code will have to be evolved. And if a code is well written and presented, its easier to work on.
In this light, I have written [...]

The resources on the Web

The web is truly an amazing place. The amount of free resources available is ridiculous. And that’s not exaggerated. Not even a wee bit. Why? Let me tell you.
The other day, I had to do what most developers hate. I had to accomplish a task and I did not have enough time. Yes it happens [...]

How to do French alphanumeric regular expression validation in ASP.NET

If you’re working on ASP.NET, you have realized that regular expression validation can come in handy more than one time. Also, regular expressions are very easy to implement (provided you have a good knowledge about it).
Some days back, I was faced with a small task. I had to make implement Javascript regular expression validation on [...]

Fixing Obsolete System.Configuration.ConfigurationSettings.AppSettings in C#

Okay this is a quick one. If you’re having “‘System.Configuration.ConfigurationSettings.AppSettings’ is obsolete: ‘This method is obsolete, it has been replaced by System.Configuration!System.Configuration.ConfigurationManager.AppSettings’” as error message when working with C#, then you have come to the right place for the fix. Here we go then.
To fix it, just add a reference to “System.Configuration.dll“. And change from [...]

How to make Google Map Marker non clickable

If you have been working with Google map markers for a long time, you probably know that whatever map marker you place on the map is clickable by default. But what if I need a non-clickable marker? Easy, its in the Google Maps API. Yes it is, but the documentation is not very straight forward.
Taking [...]

document.body.onload fix for IE

If you are reading this, you are probably having problems with “document.body.onload” in your IE javascript code. I have had this problem a few days back and a Google search solved it.
To fix it, just change your code from:
document.body.onload = alert(“Hello world”);
to:
document.onload = alert(“Hello world”);
It appears that document.body.onload does not work on IE. Before, when [...]

Powered by WordPress