Reputation: 11
I am currently making a calendar where users can click on dates, and a popup window then shows the events of the date that user clicked at. However, we don't know which date the user will be clicked at before rendering, the content of the window cannot be determined. Is there any way I can dynamically change the content of an element after a user action ("click" or "hover") in Express.js?
Upvotes: 0
Views: 86
Reputation: 69
Is there any way I can dynamically change the content of an element after a user action ("click" or "hover")
That would be the responsibility of client-side javascript. It seems like you need a in the html file your express code is serving.
Upvotes: 1