Skip to main content

Bug Tracker

Side navigation

#10890 closed bug (invalid)

Opened November 25, 2011 04:08AM UTC

Closed December 12, 2011 08:05AM UTC

IE8 click and trigger access denied

Reported by: me@edwardprevost.com Owned by: me@edwardprevost.com
Priority: undecided Milestone: None
Component: unfiled Version: 1.7.1
Keywords: Cc:
Blocked by: Blocking:
Description

The following code fails with an "access denied" javascript error, using click(), trigger(), or default javascript click().

$('#photo').change(function(e) {
    		setTimeout((function(){
				$('#submit').trigger('click'); 
				//document.getElementById("submit").click();
								setTimeout((function(){
					$('#filename').text("")
					$('#photoHolder').empty().delay(15000).html('<img id="currPhoto" border="none" height="100" width="80" src=""/>');
					$('#currPhoto').attr("src", "getImage.cfm?ssoid=0118999");
					//alert($('#currPhoto').attr("src"));
					}),3000);
			}), 2000);
		});
Attachments (0)
Change History (3)

Changed November 25, 2011 04:18AM UTC by anonymous comment:1

This is the line of code in 1.7.1 that IE8 points to in debugger:

c.type=h,c.isDefaultPrevented()||(!p._default||p._default.apply(e.ownerDocument,d)===!1)&&(h!=="click"||!f.nodeName(e,"a"))&&f.acceptData(e)&&o&&e[h]&&(h!=="focus"&&h!=="blur"||c.target.offsetWidth!==0)&&!f.isWindow(e)&&(n=e[o],n&&(e[o]=null),f.event.triggered=h,e[h](),f.event.triggered=b,n&&(e[o]=n));

Replying to [ticket:10890 me@…]:

Changed November 28, 2011 04:32AM UTC by dmethvin comment:2

owner: → me@edwardprevost.com
status: newpending

Thanks for taking the time to contribute to the jQuery project! Please provide a complete reduced test case on jsFiddle to help us assess your ticket.

Additionally, be sure to test against the jQuery Edge version to ensure the issue still exists. To get you started, use this boilerplate: http://jsfiddle.net/FrKyN/ Open the link and click to "Fork" (in the top menu) to get started.

Changed December 12, 2011 08:05AM UTC by trac-o-bot comment:3

resolution: → invalid
status: pendingclosed

Because we get so many tickets, we often need to return them to the initial reporter for more information. If that person does not reply within 14 days, the ticket will automatically be closed, and that has happened in this case. If you still are interested in pursuing this issue, feel free to add a comment with the requested information and we will be happy to reopen the ticket if it is still valid. Thanks!