Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

IE7 Crashes when running .ellipsis() in a ajax on complete function #8

Open
gardelea opened this issue Dec 13, 2011 · 0 comments
Open

Comments

@gardelea
Copy link

More details to come, just wanted to get this issue started.

Basically i have an link that ajax's in javascript which updates a div's content with new html. This consistently seems to crash the IE7 browser process.
This does not happen if you are running IE8 with developer tools set to render in IE7 Browser Mode and IE7 Standards Document Mode.

here is a snippet of the link click event :

$("#id_one .class_one a").live('click', function() { 
  $.get(this.href, 
    {}, 
    function() { $(".class_two h2").ellipsis(); },
    'script'
  ); 
  return false; 
});

The ajax response looks something like this :

$('#id_one .class_three').html(<escaped javascript to insert>);

I am using 1.0.2 of jquery.autoellipsis.

I've tried these version of jquery as well and all have the result :

  • 1.5.1
  • 1.5.2
  • 1.6.4
  • 1.7.1

I am going to work on isolating this scenario in a self contained file (or set of files) and report back.

thanks !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant