Skip to main content

Bug Tracker

Side navigation

#6857 closed bug (worksforme)

Opened August 01, 2010 04:49AM UTC

Closed August 01, 2010 09:51PM UTC

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.

Attachments (0)
Change History (1)

Changed August 01, 2010 09:51PM UTC by john comment:1

resolution: → worksforme
status: newclosed

You would have to do something like this:

javascript:$("body").hide();void(0);