Hi, sorry not sure why it wasn't showing the full code.
if (x==null || x=="")
document.getElementById('bla').innerHTML="Please enter your name";
document.getElementById("bla").innerHTML="Welcome " +x;
The first part of the code to show "please enter your name" whenever the person doesn't enter anything works fine it's just the last part which like I said when I enter a name It should display "Welcome (persons name that they entered) as x " It does this fine in Dreamweaver but when I open it in Chrome It shows up for a split second after i submit and then disapears??