Needing Help with a webpage

R

Ravikanth[MVP]

Hi

Some action should be done by user (such as button click)
then only we know whether use has read it or not


Ravikanth[MVP]
 
Joined
Mar 23, 2018
Messages
2
Reaction score
0
Alrighty, so if you want to see if a user has clicked a button or not? You may need to use some javascript here,

HTML:
<button onlick="clicked()"> CLICK ME </button>
<script>

var buttonClicked = false;
function clicked() {

buttonClicked = true

if (buttonClicked === true) {
// WHAT EVER YOU WANT IT TO DO

}

};
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,056
Messages
2,570,446
Members
47,097
Latest member
MarionMajo

Latest Threads

Top