How to getElementByClass in Javascript - The Code

A colleague of mine at work, Patrick Alcisto, asked me how a getElementByClass is done in JavaScript since getElementByID exists in JavaScript but getElementbyClass does not exist. And I have been using a standard script ever since 2004 that I just always have handy in my previous work, but sometimes, looking and remembering which websites I applied it on takes some time. So just to make it easy for me find the code when I need it, might as well post it on my blog so it is easy to find. Check the sample getElementsByClass code below: (more…)
I have heard about Drupal as being one of the best CMS’ since early 2006. I remember first hearing it on SEO Rockstars mentioned by 

I have a friend who has long been suffering from myopia asked me to help him find the right specialist where he can undergo LASIK eye surgery. He said that his being near-sighted has always been a burden to him and lately, he almost had a serious accident due to it. There was a time at night when he crossed the street all by himself and unknowingly, a speeding car with the headlights off came rushing towards him. Luckily, the driver was fast enough to hit the brakes and he was not ran over by the car.

