Needing Help with a webpage

Ravikanth MVP

Usenet Archive
Joined
Jun 25, 2003
Messages
199
Reaction score
0
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
548,042
Messages
3,104,223
Members
248,131
Latest member
Tonypshaw1

Latest Threads

Top