Skip welcome & menu and move to editor
Welcome to JS Bin
Load cached copy from
 
<!DOCTYPE html>
<html>
<head>
<script src="//code.jquery.com/jquery-2.1.1.min.js"></script>
<meta name="description" content="jQuery Append/Prepend" />
  <meta charset="utf-8">
  <title>Ejemplo Append/Prepend</title>
</head>
<body>
  <p>Párrafo 1</p>
  <p>Párrafo 2</p>
</body>
</html>
 
// $("p").append(" con nuevo contenido anexado");
// $("p").prepend("Nuevo contenido en el "); 
// $("p:last").prependTo("p:first");
Output

You can jump to the latest bin by adding /latest to your URL

Dismiss x
public
Bin info
aitormedran0pro
0viewers