jQuery click listener on <object> in IE failing

Posted by Steve Meisner on Stack Overflow See other posts from Stack Overflow or by Steve Meisner
Published on 2010-04-23T20:22:01Z Indexed on 2010/04/23 20:23 UTC
Read the original article Hit count: 139

Filed under:
|
|
|
$("#listView object.modal").click(function(){

// Get the ID of the clicked link: var link = $(this).closest("h2").attr("title"); var id = $(this).closest("div").attr("id"); showDialog(link, id);

return false; });

This fires a modal (jQuery UI). It it working in FF, Chrome/Safari but not in IE 7/8. Is there something I'm missing here?

Big Picture: We're using a swf to render custom type and there is a link in the rendered (flash) content. We're hoping to catch the link action in the jQuery listener so we don't have to extend our swf have an optional param to return false on link click.

We thought we got around it, until IE testing commenced...

Let me know if any more info is needed. Thanks!

© Stack Overflow or respective owner

Related posts about jQuery

Related posts about flash