Skip to content

Commit 736534e

Browse files
Update README.md
1 parent b64ed2c commit 736534e

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

nodejs/README.md

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ To use WebForms Core, first copy the WebForms class file in this directory to yo
55
```javascript
66
const express = require('express');
77
const bodyParser = require('body-parser');
8-
const WebForms = require('./WebForms');
8+
const { WebForms, InputPlace } = require('./WebForms');
99

1010
const app = express();
1111
const PORT = 3000;
@@ -22,7 +22,6 @@ app.get('/', (req, res) => {
2222
</head>
2323
<body>
2424
<form method="post" action="/" >
25-
2625
<label for="txt_Name">Your Name</label>
2726
<input name="txt_Name" id="txt_Name" type="text" />
2827
<br>
@@ -33,9 +32,8 @@ app.get('/', (req, res) => {
3332
<input name="txt_BackgroundColor" id="txt_BackgroundColor" type="text" />
3433
<br>
3534
<input name="btn_SetBodyValue" type="submit" value="Click to send data" />
36-
3735
</form>
38-
<body>
36+
</body>
3937
</html>
4038
`);
4139
});

0 commit comments

Comments
 (0)