Contact US

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

How to disable an html button for subsequent website visitors?

How to disable an html button for subsequent website visitors?

How to disable an html button for subsequent website visitors?


So, I am using NodeJS on an Ubuntu 22.04 server.
I have created a video chat website.
It is basically open with no login credentials required.
Browsing to the webpage get you a request for room id, and these buttons: Open Room, Join Room
So Open Room would open a room with the given room id. Join room would be for additional users to
join an existing room. These work fine, but the issue is once the room is created (Opened), the
button remains active. I'd like to be able to disable (grey out) the Open Room button once
the room is created and be greyed out for subsequent video chat attendees. Also grey out the Join Room
once the room is actually joined.

I also have an option check box to record the chat session. I'd like it to be greyed out for everyone
except the chat creator.

I hope I explained this properly.

Is this something trivial to do? Do you need more details? Your suggestions are very welcome.



Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members! Already a Member? Login

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close