I’m trying to change an image’s imageurl on an aspx asp.net c# page based on a variable from #var=1` (or 2, or 3, or 4)
I know nothing about javascript unfortunately which is what I’ve been told I need. Can anyone point me at a novice based script I can try to learn via implementation?
Your question is very vague so I’m not sure exactly what you need… I’m just going to write some code and see if it’s close to the mark
Try something like
EDIT: Based on your comment, you’re looking for the image to update even if the hash changes after the page has loaded. For that, you’ll need code similar to the following:
For more information, read about window.setTimeout.