こんにちは、このコードをバックボーンからノックアウトに転送しようとしています。バックボーンが $el をヘルパーとして使用しているため、jQuery の質問が多いと思いますか?
バックボーンのコードは
//this.el is the root element of Backbone.View. By default, it is a div.
//$el is cached jQuery object for the view's element.
//append the compiled template into view div container
this.$el.append(***some html***);
したがって、console.log (this.$el) はオブジェクトを返します
私が試してみました
console.log($(** some html **))
しかし、これはオブジェクトではなく、最初のダイビングの名前を返すだけです...