Issue with input not showing up in HTML
P粉043432210
P粉043432210 2023-08-01 12:47:42
0
1
456
<p>I just want four different places to enter numbers between 1-8, not accepting any letters or special characters. I just need numbers. However, when I run the code, there is no input. `<br /><br />Can someone help me get the input to only allow numbers from 1-8. This is what I wrote:</p><p><br /></p> <pre class="brush:php;toolbar:false;">' <body> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>MhMTSEL</title> //inputs <p1>M:</p1><input1 id="alpoint" value="-" /></div><br> <p2>S</p2><input2 id="alpoint" value="-" /></div><br> <p3>El</p3><input3 id="alpoint" value="-" /></div><br> <p4>MT/hMT</p4><input4 id="alpoint" value="-" /></div><br> </body> '</pre> <p><br /></p>
P粉043432210
P粉043432210

reply all(1)
P粉190443691

First of all, an id can only be used once in an html page.

<div>
        <label for="input1">M:</label>
        <input id="alpoint1" name="input1" value="-" />
    </div>
    <div>
        <label for="input2">S</label>
        <input id="alpoint2" name="input2" value="-" />
    </div>
    <div>
        <label for="input3">El</label>
        <input id="alpoint3" name="input3" value="-" />
    </div>
    <div>
        <label for="input4">MT/hMT</label>
        <input id="alpoint4" name="input4" value="-" />
    </div>

It should be fine now

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template