Landon: Guess the number

Works, but have some questions about general JavaScript:
1. Is there a better way to do this: (document.getElementById('guessInput').value)? Tried doing jQuery, but I wasn't able to get it to work.
2. Similarly, === did not work, but == did for comparisons. Why?