You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Can anyone please help me. I need to be able to replace an image using JQuery i.e.
$('#image').attr('src', 'http://www.somewebsite.com/someimage.jpg');
I gave the image element an id of 'image'.
But the problem is that the new image now has the wrong coordinates. I've tried calling the code to reset it but that doesn't work. So how can I reset the coordinates for the new image?
Best Regards,
Steve
The text was updated successfully, but these errors were encountered:
Hello,
Can anyone please help me. I need to be able to replace an image using JQuery i.e.
$('#image').attr('src', 'http://www.somewebsite.com/someimage.jpg');
I gave the image element an id of 'image'.
But the problem is that the new image now has the wrong coordinates. I've tried calling the code to reset it but that doesn't work. So how can I reset the coordinates for the new image?
Best Regards,
Steve
The text was updated successfully, but these errors were encountered: