+ 6
Jquiry identifying a button - Question
<button onClick="function" >Click me</button> <button onClick="function" >Click me</button> <button onClick="function" >Click me</button> <button onClick="function" >Click me</button> <button onClick="function" >Click me</button> I want a Jquiry script that can indentify which button is pressed and change the text without a id.
1 Answer
0
just use
$("button").on("click", function(){
this.html("new text");
})
Hot today
help my code does not iterate
0 Votes
What is the problem 🤨🧐??
1 Votes
Generador de divicion python.
1 Votes