I've never used Firebug Lite, but I don't see any documentation that
says $(...) is functionality added by firebug lite. If you saw that
function being used in a tutorial, the author most likely assumed you
were using a javascript web framework like jQuery or MooTools. Most of
these libraries provide the $(...) function, typically as a shortcut
for document.getElementById(), which appears to be the way you're
using it.
Try this in the console instead:
document.getElementById("nameTextBox")
If you like the $() syntax, you may wish to also include jQuery or
MooTools in your page to provide it. Or simply add this to your page:
<script type="text/javascript">
window.$ = document.getElementById;
</script>