@ssaroha Probably there is something weird in your code proposal. Try the following http://jsfiddle.net/nmufb/1/