jquery - no loaded event for handlebar templates -


i'm using handlebars , handlebar jquery plugin bootstrap modal .. problem handlebar library not provide proper events fired after given template compiled , rendered making ui not interactive or have issues in way display.

currently code shows correctly if put alert statement on top of :

// modal appears out of place $modal.render('bootstrapmodaltemplate', context)  // makes modal render correctly alert('works'); $modal.render('bootstrapmodaltemplate', context) 

can guyz ? there way hookup callback after template has been loaded , rendered ?


Comments

Popular posts from this blog

javascript - How to name a jQuery function to make a browser's back button work? -

java - gson parse items from comma-separated-value string within a json value -

Validation in java Error log in register -