Wednesday, April 2, 2008

Add javascript dropdownlist in your blog

I was looking for a way to add a dropdownlist in my blog, finally I've found this. Happy It's simple and it's what I want.

I do not know why the above dropdownlist is not working, but when you copy these codes to your blog, it should be able to work.

Just copy the following codes, and add to your blog. In Blogger, Add these codes in HTML/Javascript element, then it works fine.

<!--BEGIN dropdownlist--><script language="JavaScript">
function selectOption(selObj){[selObj.selectedIndex].value);}</script>

<select style="background: #c6e2ff; color: #000000" onchange="selectOption(this)">
<option value="">- Please select -</option>
<option value="">Google</option>
<option value="">Yahoo</option>
<option value="">MSN</option></select>
<!--END dropdownlist-->


I got this script from this blog. Thanks! Happy


  1. Hello. This post is likeable, and your blog is very interesting, congratulations :-). I will add in my blogroll =). If possible gives a last there on my blog, it is about the Home Broker, I hope you enjoy. The address is A hug.

  2. The matchless message, is interesting to me :)