P.Brian.Mackey P.Brian.Mackey - 5 months ago 16x
Javascript Question

jQuery - hide a span on document.ready

I want to hide a span on document.ready. I tried

<script type="text/javascript">
//Set the stuff we want to be able to use in javascript, but not display in the browser window invisible
function () {

But, I get error "Object doesn't support this property or method" in IE7 debugger. I verified in the source that the object exists as a
and the id is correct.


Try this:

        function () {

You left off the $.