hi all

okaii i need help ,i have built my own webpage that allows PHP scripting on it but i am missing a something and when i click the button it just refreshes

here is my PHP/HTML code ,you see how it says document.getElementByid ,i don't understand this

if(document.getElementById('u')) document.getElementById('u').focus();

please help me understand this ,