Jquery loads only after F5 in IE

Posted by khushi on Stack Overflow See other posts from Stack Overflow or by khushi
Published on 2012-09-20T06:59:35Z Indexed on 2012/09/20 9:38 UTC
Read the original article Hit count: 222

I am using Jcrop jQuery to crop image in MVC3 application.

following is my javacript function:

    jQuery(function ($) {
    $('#imgLab').Jcrop(
        {
            onChange: showCoords,
            onSelect: coordsSelected,
            onRelease: clearCoords
        }
        );
});

Image ID is 'imgLab'.

Image src path is coming from database.

Now this work fine in FF,Safari and Chrome. but in IE it only works after I press F5. Can anyone tell me what is wrong in code?

Thanks in Advance. Khushbu

© Stack Overflow or respective owner

Related posts about jQuery

Related posts about asp.net-mvc