Answers for "aplicar jquery"

1

como utilizar jquery

<!doctype html>
<html lang="en">
 <head>
  <meta charset="utf-8">
  <title>Uso de Jquery</title>
  <meta name="viewport" content="width=device-width, initial-scale=1">
  <!-- Agregamos jquery desde un CDN -->    
  <script
   src="https://code.jquery.com/jquery-3.4.1.js"
   integrity="sha256-WpOohJOqMqqyKL9FccASB9O0KwACQJpFTUBLTYOVvVU="
   crossorigin="anonymous"></script>
   <!-- Agregamos un script que lo utiliza -->
   <script type="text/javascript">
    // Utilizamos el método text para modificar el contenido
  	$('#ejemplo').text("Hasta la vista baby!"); 
   </script>
 </head>
 <body>
  <p id="ejemplo">Hola, mundo</p>
 </body>
</html>
Posted by: Guest on April-13-2020

Code answers related to "Javascript"

Browse Popular Code Answers by Language