Editor de Jquery online
A continuacion comparto una url online para hacer pruebas en jquery rapidamente
Asi como un archivo demo:
https://www.tutorialspoint.com/online_jquery_editor.php
<!doctype html>
<html>
<head>
<title>Online jQuery Editor</title>
<script src="https://www.tutorialspoint.com/jquery/jquery-3.6.0.js"></script>
<script>
$(document).ready(function() {
$("p").css("background-color", "yellow");
$( "#target" ).click(function() {
alert( "inicio" );
ejemplo();
alert('fin')
});
function ejemplo(){
alert('ejemplo')
}
});
</script>
</head>
<body>
<h1>jQuery element Selector</h1>
<input id="target" type="button" value="button">hola</input>
<p>This is p tag</p>
<span>This is span tag</span>
<div>This is div tag</div>
</body>
</html>
No hay comentarios.