0

my Question is the 1st user logged in one page and has one button.2nd user logged in his page .he has one disable button.when 1st user click the button the 2nd user disable button will be enabled in php/javascript.is this possible? Thanks in advance.

2
  • in short, yes. But in order to get a worthwhile answer you'll have to provide more specific details Commented Dec 8, 2014 at 4:29
  • you can web socket: nodejs Commented Dec 8, 2014 at 4:29

1 Answer 1

1

When user 1 click button 1 update database and on the other page check periodically with ajax if the table updated change the button attribute to enable. If you don't want to check periodically you can use node.js or similar approaches.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.