Sign in through GitHub

Please read for an updated status on RailsCasts:

Learn more or hide this

Benjamin Wheeler's Profile

GitHub User: benjiwheeler


Comments by Benjamin Wheeler


figured out why calling html() with an element object works at all: the html() code WAS working right, but it's really calling .append(). Probably clearer to just use append().

(there's a big advantage to appending the element, rather than just the html from it by doing basically .html(...el.html()) : the @el object can be changed in the future in the js code, and we don't need to bother #container again.)

also, this was keeping me from getting that reset callback: