CODE WORKING
Numbers are randomizing this is fine.I need to change it like 0-9 numbers should not repeat when i click the buttons under "numbers" class which id's are "s1,s2,s3,s4...".
when i click it happens like
1 2 3               3   5   7                        3 5 2
4 5 6   not like   !4  !4   2 It must be like this   1 4 7
7 8 9     ---->     8  !0   9      ----->            8 0 9
0                  !0                                6
++++
The current value of button has to be set in textbox which id is "getir" when i click it.
This must be done with and I couldn't make it Javascript
function Random() {
    return (Math.floor(Math.random() * 10));
}
function randomValue() {
    var x = document.getElementsByClassName("numbers")
    var i;
    for (i = 0; i < x.length; i++) {
        x[i].value = Random()
    }
}
function silYazi() {
    document.getElementById("getir").value = "";
} <table>
            <tr>
                <input type="text" id="getir" value="" name="getir">
            </tr>
            <br>
            <tr>
                <input id="s1" type="button" class="numbers btn btn-outline-success mt-3" onclick="randomValue()"
                    value="1">
                <input id="s2" type="button" class="numbers btn btn-outline-success mt-3 ml-4" onclick="randomValue();"
                    value="2">
                <input id="s3" type="button" class="numbers btn btn-outline-success mt-3 ml-4" onclick="randomValue();"
                    value="3">
            </tr>
            <br>
            <tr>
                <input id="s4" type="button" class="numbers btn btn-outline-success mt-3" onclick="randomValue();"
                    value="4">
                <input id="s5" type="button" class="numbers btn btn-outline-success mt-3 ml-4" onclick="randomValue();"
                    value="5">
                <input id="s6" type="button" class="numbers btn btn-outline-success mt-3 ml-4" onclick="randomValue();"
                    value="6">
            </tr>
            <br>
            <tr>
                <input id="s7" type="button" class="numbers btn btn-outline-success mt-3" onclick="randomValue();"
                    value="7">
                <input id="s9" type="button" class="numbers btn btn-outline-success mt-3 ml-4" onclick="randomValue();"
                    value="8">
                <input id="s8" type="button" class="numbers btn btn-outline-success mt-3 ml-4" onclick="randomValue();"
                    value="9">
            </tr>
            <br>
            <tr>
                <input id="s0" type="button" class="numbers btn btn-outline-success mt-3" onclick="randomValue();"
                    value="0">
                <input id="btnSil" type="button" class="btn btn-outline-danger mt-3 ml-5" onclick="silYazi();"
                    value="Sil">
            </tr>
        </table> 
     
    