The big question is, why do you want this? Ember has great built-in support for click handlers without going through jQuery. The reason your <script> not working will most likely be due to the deferred way that ember inserts views into the DOM. When you execute Ember.View.append() , the element is inserted into the DOM later.
So here is a fiddle that does what I think you want to link the jQuery click handler in didInsertElement() .
http://jsfiddle.net/algesten/5LPPz/1/
didInsertElement: function () {
However, the ember path would have to use the function of the implicit click handler:
http://jsfiddle.net/algesten/5LPPz/2/
click: function () { alert("Hi there."); }
NB The last handler attaches to the surrounding div handle, not to a , but clicks the bubble.
source share