homepage.html
:
<html>
<h2>Welcome To Employee Home Page !!!</h2>
<button type="button">Add Employee</button>
<button type="button">Delete Employee</button>
</html>
在HTML页面的此处,我有两个按钮,分别是Add Employee和Delete Employee。如果我单击“添加员工”按钮,则它应重定向到一个新页面,与“删除员工”按钮相同。如何在node.js中执行此操作?有人可以帮我吗?
只有浏览器和浏览器jsvm知道此事件,nodejs是用于与传入请求进行协作的服务器端JavaScript实现等。
本文收集自互联网,转载请注明来源。
如有侵权,请联系[email protected] 删除。
我来说两句