Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to disable an html button for subsequent website visitors?

Status
Not open for further replies.

Rayj0000

Programmer
Apr 27, 2023
1
0
0
US

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.

Thanks,

Ray
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top