Posts Tagged ‘Javascript’

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 [...]

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