@$el.html(@template())
@$('an_input').val('2') # ---> this works
@$('selector').prop('checked', true) # ---> does not work
@$el.html(@template())
@$('an_input').val('2') # ---> this works
setTimeout( ->
@$('selector').prop('checked', true) # ---> works!
1000
)
有谁知道为什么?
小提琴:http: //jsfiddle.net/EC49U/