Hi @javanese
It is important to place your jQuery code within the acf/setup_fields action.
This ensures that all HTML is ready for jQuery
You can read more in this guide:
http://www.advancedcustomfields.com/resources/getting-started/adding-custom-javascript-jquery-for-fields/