|
@@ -7,10 +7,10 @@
|
|
|
}
|
|
}
|
|
|
</style>
|
|
</style>
|
|
|
|
|
|
|
|
-<form id="form" action="http://localhost:3030" method="post">
|
|
|
|
|
|
|
+<form id="form" action="http://localhost/" method="post">
|
|
|
<p>Replaced element (normally hidden): </p>
|
|
<p>Replaced element (normally hidden): </p>
|
|
|
<textarea name="editor" id="editor"><p>foo bar baz</p></textarea>
|
|
<textarea name="editor" id="editor"><p>foo bar baz</p></textarea>
|
|
|
- <button id="submit-button" type="submit">Submit form</button>
|
|
|
|
|
|
|
+ <button type="submit">Submit form</button>
|
|
|
</form>
|
|
</form>
|
|
|
<br />
|
|
<br />
|
|
|
<button id="submit-with-js">Submit by calling form.submit()</button>
|
|
<button id="submit-with-js">Submit by calling form.submit()</button>
|