hey guys, I have to create a scientific calculator using javascript and I am wondering how I can make it so that the equals box (box that displays the answer) cannot be manually cleared with the mouse cursor.
That's the HTML to make a disabled input. If you don't know where to place something like that in the markup section of your code, you should probably learn HTML before attempting javascript.
also I am trying to make the only input into the calculator from the buttons themselves
You might be interested in the calculator tutorial currently linked in my signature.
__________________
.My new Javascript tutorial site: http://reallifejs.com/
.Latest article: Calculators — Tiny jQuery calculator, Full-fledged OOP calculator, Big number calculator
.Latest quick-bit: Including jQuery — Environment-aware minification and CDNs with local fallback