As much as I want to use this. It doesn't work on my Premium Theme.
At default theme the style="display:block" and style="display:none" is present. But when I activate my Theme it doesn't appear anymore. Everything is visible and when I select a field nothing happens. The premium theme I'm using is Brooklyn Theme by unitedthemes.com