Display a message to the dblclick event on all paragraphs on a page using jquery
- جي كويري
- 2021-09-18
- mhanasmh00489829403
الأجوبة
HTML Code :
<!DOCTYPE html>
<html>
<head>
<script src="https://code.jquery.com/jquery-git.js"></script>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<title>Display a message to the dblclick event on all paragraphs on a page</title>
</head>
<body>
<p>jQuery Exercises</p>
<p>JavaScript Exercises</p>
</body>
</html>
JavaScript Code :
$( "p" ).dblclick(function() {
alert( "Hello World!" );
});
أسئلة مشابهة
القوائم الدراسية التي ينتمي لها السؤال
معلومات ذات صلة