The correct function for this is `append` -- `add` does something else entirely (look it up in the jQuery docs).