jQuery Mobile can't change an image dynamically on Android devices. Please help.
aditional information:
What I am trying to do is to change a security image. It runs locally on my machine but I can access the code and apis with my network ip-adress, and it works. When I try to change the image that I get from an url it only change in safari I have tried in chrome, Firefox etc. but no luck.
I tried setting a date.getTime() behind but that didn't work either. I have debugged the code and when I press the button nothing happens to the image, the input field changes to null.
So my problem is to change the image every time I click the button.
  $("#newSecurityCode").on("click",function () {
        $("#securityCheckImg").attr("src", urlprefix() + "captcha");
        $("#securityTextField").val("");
    });
This code works in safari Mac and iPhone but not in chrome, Firefox.....
$("#newSecurityCode").click(function() {
  $("#securityCheckImg").attr("src", url());
  $("#securityTextField").val("");
});
<tr>
  <td>
    <img id="securityCheckImg">
  </td>
</tr>
 
     
     
     
    