siwelis Posted February 27, 2010 Share Posted February 27, 2010 Currently I'm using this method which just "sets" the value, replacing anything currently in there: document.getElementById("form").value = which; How do I make it "add" the value instead? Link to comment https://forums.phpfreaks.com/topic/193594-add-to-value-in-text-box/ Share on other sites More sharing options...
siwelis Posted February 28, 2010 Author Share Posted February 28, 2010 turns out to ADD to a text box, using the javascript operator += adds/appends the text- i thought it would only work for numbers. Link to comment https://forums.phpfreaks.com/topic/193594-add-to-value-in-text-box/#findComment-1019222 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.