javascript - Jquery live() alternative in Backbone -


मेरे पास कोड है:

  इवेंट: {'click .bet-block': ' क्लिक ऑड ',},   

मेरी समस्या यह है कि जब आप एक गतिशील तत्व जोड़ते हैं यह इवेंट काम नहीं करते ... विधि की पहुंच Jquery Backbone में रहते हैं?

कार्य करने के लिए आपके द्वारा गतिशील तत्व जोड़ने के बाद इस पंक्ति को जोड़ने के लिए कार्य करें: <पूर्व> this.delegateEvents ();

Comments

Popular posts from this blog

sql - Return Function using Cursor -

javascript - Is there any way to add a new parameter to a function programmatically? -

c++ - why does this code produce a runtime error? -