Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
320 views
in Technique[技术] by (71.8m points)

node.js - NodeJs - update the response after a countdown

I want to show a countdown. And when that countdown reaches 0 to enable an iframe with content from another site (without the user refreshing).

But I don't want the link to the iframe to be accesible to clients before the time is up. So i thought of using nodejs to dynamically update the content after a timer.

I'm very noob in nodejs (i know how to set up express and deliver some static pages). Could you point me in the right direction? How do I update content dynamically and how do I call a function at a certain date? Thanks!


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)
等待大神答复

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...