You can force a refresh by appending a random string at the end, thus changing the URL:
$('#verifyimage').click(function() {
$(this).attr('src', $(this).attr('src')+'?'+Math.random());
});
More Related Contents:
- HTML nchor Tag doesn’t show link
- How to change color of SVG image using CSS (jQuery SVG image replacement)?
- jQuery Ajax error handling, show custom exception messages
- How to trigger a click on a link using jQuery
- Catch error if iframe src fails to load . Error :-“Refused to display ‘http://www.google.co.in/’ in a frame..”
- JQuery Event Handlers – What’s the “Best” method
- Submitting HTML form using Jquery AJAX
- jqGrid custom format fails on addClass
- The specified value does not conform to the required format yyyy-MM-dd
- Can I load external stylesheets on request?
- What’s the difference between jQuery .val() and .attr(‘value’)?
- AJAX jQuery.load versus jQuery.get
- angular.element vs document.getElementById or jQuery selector with spin (busy) control
- jQuery :first vs. .first()
- Extracting Ajax return data in jQuery
- Difference between .on() functions calls
- jquery with ASP.NET MVC – calling ajax enabled web service
- How can I make a jQuery UI ‘draggable()’ div draggable for touchscreen?
- How to get multiple checkbox values using jQuery?
- Get the current jQuery selector string?
- How do I get the offset().top value of an element without using jQuery?
- jQuery Validate plugin, one out of two fields is required
- HTML5 required attribute not working
- Trigger change event of dropdown
- Simple jQuery code works fine until site is loaded via https://
- Dynamically adding to in jquery mobile
- jquery vertical mousewheel smooth scrolling
- The .fadeOut() method to use visibility property instead of display property
- My Own Like Button: Django + Ajax — How?
- Getting Zend_Navigation menu to work with jQuery’s Fisheye