Changing text in HTML?

linkinhardyy

New member
How can I add to current text, like add new tex above the last text?
document.getElementById('boldStuff').innerHTML = 'test';
I saw the above but that just overrights, how could instead of overwriting, leave the last text and insert a line above it using code. So i want to press a button and it will add a line above the last line always
 
Back
Top