Fill in the blanks to handle the click event on the paragraph tag. | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Fill in the blanks to handle the click event on the paragraph tag.

$("p"). ( () { alert("Clicked!"); );

26th Nov 2018, 11:58 AM
Isa Ebrahim
Isa Ebrahim - avatar
8 Answers
+ 2
$("p"). on ("click", function () { //some code });
27th Aug 2020, 2:55 PM
Lindsay Mae
Lindsay Mae - avatar
+ 1
$("p").click( function () { alert("Clicked!"); });
21st Jan 2019, 9:10 AM
Alvin Nguyen
0
is it a question copied from challenge
26th Nov 2018, 12:14 PM
Etabeta1🇮🇹
Etabeta1🇮🇹 - avatar
0
Fill in the blanks to handle the click event on the paragraph tag. $("p"). click ( function () { alert("Clicked!"); } );
31st Mar 2019, 8:19 AM
Chaudhari Sonali Dilip
0
$("p"). on ("click", function () { //some code });
4th Dec 2020, 4:37 PM
El Maslohi Hassan
0
$("p"). click ( function () { alert("Clicked!"); } );
4th Mar 2021, 2:28 PM
Cesar Aramayo
Cesar Aramayo - avatar
0
Fill in the blanks to add an event handler to the paragraph. $("p"). on ("click", function () { //some code });
4th Mar 2021, 3:55 PM
Cesar Aramayo
Cesar Aramayo - avatar
0
ON FUNCTION
8th May 2021, 1:29 PM
IMTIAZ AHMAD
IMTIAZ AHMAD - avatar