Quantcast
Channel: Adobe Community : All Content - Edge Animate
Viewing all articles
Browse latest Browse all 9897

Problem with jQuery .error() function in 3.0

$
0
0

As the title reads, ever since the 3.0 upgrade I have been having a problem using the jQuery .error function. What I am trying to do is to hide an image whenever the link is broken. My code which worked in previous versions doesn't work anymore, and I have even created a test file with a simple structure to test out the code and it doesn't seem to work. For the test I copied the code directly from the jQuery API and added a simple hide function, all of the elements sit on the stage:

 

$("slide1").error(function () {

    $("slide1").hide();

});

 

This fails to work, and I can't figure out why. Any suggestions would be appreciated! Thanks.


Viewing all articles
Browse latest Browse all 9897

Trending Articles