Javascript, How to show two value into same input type text field? -


i want show 10 20 in single input type text, below option not working. can 1 me

javascript:-

var = 10; var b = 20;  document.getelementbyid("current").value = , b; 

html:-

<input type="text" id="current"> 

you can this:

document.getelementbyid("current").value = + " " + b; 

Comments

Popular posts from this blog

matlab - "Contour not rendered for non-finite ZData" -

delphi - Indy UDP Read Contents of Adata -

javascript - Any ideas when Firefox is likely to implement lengthAdjust and textLength? -