How would one write this with the correct coffeescript syntax?
$("select#test").bind({
"focus": function(ev, obj) {
# Do something when the focus event is triggered
}
});
My attempt is not correct:
$("select#test").bind
"focus": (ev, obj) ->
# Do something when focus event is triggered