From 6ef1fa4618e08426b874529619a66adbd3d1fcf0 Mon Sep 17 00:00:00 2001 From: Florian Merz Date: Thu, 11 Feb 2021 12:07:59 +0100 Subject: unslug ja: move --- .../simple_live_sample_demo/index.html | 37 ---------------------- 1 file changed, 37 deletions(-) delete mode 100644 files/ja/mdn/structures/live_samples/simple_live_sample_demo/index.html (limited to 'files/ja/mdn/structures/live_samples') diff --git a/files/ja/mdn/structures/live_samples/simple_live_sample_demo/index.html b/files/ja/mdn/structures/live_samples/simple_live_sample_demo/index.html deleted file mode 100644 index 9e550d81ac..0000000000 --- a/files/ja/mdn/structures/live_samples/simple_live_sample_demo/index.html +++ /dev/null @@ -1,37 +0,0 @@ ---- -title: ライブコードサンプルの簡単なデモ -slug: MDN/Structures/Live_samples/Simple_live_sample_demo -tags: - - MDN Meta - - Structures - - 例 -translation_of: MDN/Structures/Live_samples/Simple_live_sample_demo ---- -
{{MDNSidebar}}
- -

- -

これは、MDN でライブデモを行う方法を示す非常に簡単な例です。詳細については、ライブサンプルを参照してください。

- -
<form>
-  <label>Try me<input type="text" name="name"></label>
-  <input type="submit" value="go">
-</form>
- -
form {
-  border-radius: 10px;
-  background: powderblue;
-}
- -
var f = document.querySelector('form');
-
-f.addEventListener('submit', function(ev) {
-  ev.preventDefault();
-  document.querySelectorAll('input')[1].value = 'sending';
-}, false);
- -

{{ EmbedLiveSample('The_example', '', '', '') }}

- -
-

注: ローカライズしたページでは、最初の引数の値は、サンプルを含む見出しの ID と同じにしてください.

-
-- cgit v1.2.3-54-g00ecf