mirror of
https://gitlab.com/parroquia-san-leandro/cancionero-web.git
synced 2025-04-26 15:16:19 +02:00
minor corrections and distribution of the generated file
This commit is contained in:
parent
6535d4d7dd
commit
890c2397e3
6 changed files with 85 additions and 31 deletions
|
@ -21,7 +21,6 @@ function changed() {
|
|||
if (lastNum.value) {
|
||||
inputs.push(lastNum)
|
||||
lastNum.name = "song[]"
|
||||
lastNum.onchange =
|
||||
lastNum.removeAttribute("onchange")
|
||||
lastNum.removeAttribute("onkeyup")
|
||||
lastNum.removeAttribute("id")
|
||||
|
@ -44,12 +43,15 @@ function changed() {
|
|||
<h1>Editor</h1>
|
||||
</header>
|
||||
<main>
|
||||
<h2>Números de las canciones</h2>
|
||||
<form action="generar.php" method="post">
|
||||
<ul id="list">
|
||||
<li><input id="lastNum" type="number" max="500" min="1" onkeyup="changed()" onchange="changed()"></li>
|
||||
</ul>
|
||||
<button type="submit">Enviar</button>
|
||||
</form>
|
||||
<h2>Índice</h2>
|
||||
<iframe src="/" height="400px" width="100%"></iframe>
|
||||
</main>
|
||||
</body>
|
||||
</html>
|
||||
</html>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue