PYTHON AND JQUERY CODING EXERCISES: Coding For Beginners by TAM JJ

PYTHON AND JQUERY CODING EXERCISES: Coding For Beginners by TAM JJ

Author:TAM, JJ [TAM, JJ]
Language: eng
Format: epub, pdf
Published: 2020-11-06T16:00:00+00:00


JQUERY

CODING EXERCISES

CODING FOR BEGINNERS

JJ TAM

JQUERY CODING EXERCISES

Check jQuery is loaded

HTML CODE

<!DOCTYPE html>

<html>

<head>

<script src="//code.jquery.com/jquery-1.11.1.min.js"></script>

<meta charset="utf-8">

<title>Test if jQuery is loaded</title>

</head>

<body>

<p>Click me!</p>

</body>

</html>

JAVASCRIPT CODE

$("p").bind("click", function(){

$( "This is a click Event").appendTo( "body" );

});

$("p").bind("dblclick", function(){

$( "This is a double-click Event" ).appendTo( "body" );

});

OUTPUT

Click me!

This is a click Event



Download



Copyright Disclaimer:
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.