Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我想知道是否可以使用 node.js 和 express 来渲染 express 应用程序的布局。我想在布局页面上播放一个流,但我担心每次我想渲染到我声明的块时它都会停止。
简单的ajax示例:
$.get('url', function(response){ $('#divToUpdateId').html(response); });
或者这是相同的:
$('#divToUpdateId').load('url');