div id="content">-All content that would come with the dropdown here/div>然后使用jquery附加悬停事件来使"all“动画化,并使用动画使"all”和"content“css下拉(我有两个更新两个单独dom eleement的位置)。有没有更好的方法在dom中
know what response.data contains: it might be a string of text // jquery selector to replace the content with.Hide the new content before adding it to the DOM.