Click here to Skip to main content
15,911,762 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
i want refresh image without fliking that show to client means when image is change client should not know easly
Posted
Comments
Kornfeld Eliyahu Peter 24-Nov-14 7:16am    
C# - Client side scripting?
You question is absolutely unclear!!!

1 solution

Hi,

Use Javascript/Jquery method


HTML
function ChangeSrc(src)
{

 $('#imgPreview').fadeOut(500, function() {
        $('#imgPreview').attr("src",src);
        $('#imgPreview').fadeIn(500);
    });
}
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900