On Nov 8, 6:39 pm, Bil Corry <[EMAIL PROTECTED]> wrote:
> That won't work because jQuery doesn't exist -- you'd have to use straight 
> JavaScript.  Probably the best solution is to make the event wait until 
> jQuery exists.  Seems like a task jQuery itself should take care of though.

Yeah this is very weird. But jQuery has to exist, how else do the
events get bound then? :)

I have all of this inside of jQuery document.ready, with all the
events bound using jQuery identifiers and all the actions inside of
those already defined and bound event handlers... yet it still
happens. (See below)

I agree though, this should be something in the jQuery code itself,
some sort of try/catch since the event is bound using jQuery it should
be knowledgeable about it... I would think it could be done... it
would be nice if someone on the jQuery internals team could speak up.
I also might try submitting this as a bug/enhancement request and see
where it goes there.

Example:

    $("#allEntriesTab").mouseover(function() {
            $("#allEntriesTab").css("background-color",
"#7dbeee").css("cursor", "pointer");
    });
    $("#allEntriesTab").mouseout(function() {
        $("#allEntriesTab").css("background-color",
"#ff9900").css("cursor", "default");
    });
    $("#createNewTab").mouseover(function() {
        $("#createNewTab").css("background-color",
"#7dbeee").css("cursor", "pointer");
    });
    $("#createNewTab").mouseout(function() {
        $("#createNewTab").css("background-color",
"#ff9900").css("cursor", "default");
    });


Reply via email to