html - Move a paragraph after a div with .after (jQuery) -


I am currently playing with the codecady and I got a job, after a div, to a new paragraph Saying to move. Here's what I did:

  $ ('#a'). ('& Lt; p & gt; this is jquery & lt; / p & gt;');   

Now I want to move the new paragraph after a second, which is called #Ut, though, to use it. After this, it tells me After # two ID, how do I get new paragraphs?

EDIT: Sorry, I'm starting on this. In some way, stuff does not work in JSfield for me, I am doing something wrong most. Although I will leave some screenshots below:

html

  & lt; Div id = "one" & gt; A & lt; / Div & gt; & Lt; Div id = "two" & gt; Two & lt; / Div & gt; ('& Lt; p & gt; this is jquery & lt; / p & gt;');   

javascript

  $ ('#a'). $ ('# Two'). After ($ ("#A + P"));   



Comments

Popular posts from this blog

excel vba - How to delete Solver(SOLVER.XLAM) code -

github - Teamcity & Git - PR merge builds - anyway to get HEAD commit hash? -

ios - Replace text in UITextView run slowly -