Java Script get combo box selected value

How to get user selected value and text in the drop down box/combo box using java script.Here tested easy best methods to get combo box value.This is describes also browser compatibility.

Consider the following example.Note that the brackets.

If you are using () instead of [],in Firefox that will give you an ‘is not a function’ error. Because IE allows you to get away with using () instead of [].