Slipt numbers by jquery

input first = 16 61 25 52 or 16-61-25-52 or 16612552
input two = 10

output = 10point in 16
10 points in 61
10 points in 25
10 points in 52

Did you have a question?

write a html code first to create two inputs and give them unique ids to select them with javascript and also a html element or div with id result to show display then

let input1 = document.getElementById("input1").value; 
let input2 = document.getElementById("input2").value; 


     
    let allText =  input1 + "points" + "in" + input2; 
    document.getElementById("result").innerHTML = allText; 


1 Like

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.