Bug Tracker

Opened 9 years ago

Closed 9 years ago

#6857 closed bug (worksforme)

JQuery execution fails in FF and IE when typed in address bar.

Reported by: Tidenburg Owned by:
Priority: Milestone: 1.4.3
Component: misc Version: 1.4.2
Keywords: address bar jquery execution Cc:
Blocked by: Blocking:

Description

In the address bar, when I try a command like: javascript: $('body').hide();

In google chrome, it performs the desired action. However, if I type this in on FF or IE I get moved to a page displaying "[Object object]".

However normal javascript works fine. Even if I try with normal javascript first and then a jquery command, it performs the normal JS, then diverts to the page.

Change History (1)

comment:1 Changed 9 years ago by john

Resolution: worksforme
Status: newclosed

You would have to do something like this:

javascript:$("body").hide();void(0);
Note: See TracTickets for help on using tickets.