Closed Bug 502308 Opened 17 years ago Closed 15 years ago

javascript functions not invoked when using the javascrit:function syntax in event handlers

Categories

(Firefox :: General, defect)

x86
Windows XP
defect
Not set
normal

Tracking

()

RESOLVED INCOMPLETE

People

(Reporter: mvisee, Unassigned)

Details

(Whiteboard: [CLOSEME 2010-12-01])

User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1) Gecko/20090624 Firefox/3.5 (.NET CLR 3.5.30729) Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1) Gecko/20090624 Firefox/3.5 (.NET CLR 3.5.30729) It seems that javascript functions are not executed when invoked using the javascript:functionName syntax is used in event handlers. Reproducible: Always Steps to Reproduce: 1.have an event handler like onclick invoking javascript function using javascript:functionName syntax 2.click on the element 3. Actual Results: Nothing happens Expected Results: The function should be invoked. As it is usually used to create popup windows, it prevents some navigation
I am having a problem very similar to this bug. The same scripts works fine in firefox 3.5.5, but not in firefox 3.0.10 User-Agent Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9.0.10) Gecko/2009042315 Firefox/3.0.10 Accept text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8 Steps to Reproduce: 1. have an event handler onclick invoking javascript (jquery 1.2.6 or jquery 1.3) function using javascript:functionName syntax 2. having one page with element to click ( the element on the first page is ok) 3. create another page that are linked from the first page and have element on there to click too. 4. Actual Results: elements on the first page has the right behavior- javascript executed (creating a cookie) elements on the second page -- Nothing happens. Expected Results: The function on the second page should also be invoked.
Reporter, please retest with Firefox 3.6.12 or later in a fresh profile (http://support.mozilla.com/kb/Managing+profiles). Also update your plugins (flash, adobe reader, java, quicktime, silverlight, etc.) Go to the developer's website and download the latest version from there. If you no longer see this issue, please close this bug as RESOLVED, WORKSFORME. If you do see the bug, please post a comment.
Whiteboard: [CLOSEME 2010-12-01]
No reply, INCOMPLETE. Please retest with Firefox 3.6.12 or later and a new profile (http://support.mozilla.com/kb/Managing+profiles). If you continue to see this issue with the newest firefox and a new profile, then please comment on this bug.
Status: UNCONFIRMED → RESOLVED
Closed: 15 years ago
Resolution: --- → INCOMPLETE
You need to log in before you can comment on or make changes to this bug.