![]() |
|
[Javascript] Why the src of my img doesn't change? - Printable Version +- Hack Forums (https://hackforums.net) +-- Forum: Tech (https://hackforums.net/forumdisplay.php?fid=444) +--- Forum: Coding (https://hackforums.net/forumdisplay.php?fid=151) +---- Forum: Web Development (https://hackforums.net/forumdisplay.php?fid=183) +---- Thread: [Javascript] Why the src of my img doesn't change? (/showthread.php?tid=5910519) |
Why the src of my img doesn't change? - Kαѕρer - Nov 21, 2018 As the title says, why the source of the image doesn't change? https://pastebin.com/bbivmYu0 RE: Why the src of my img doesn't change? - Disease - Nov 21, 2018 (Nov 21, 2018 03:03 PM)Kαѕρer Wrote: As the title says, why the source of the image doesn't change? You're never passing a parameter to your show_kader() function. As such, it has nothing to perform the conditional on. It looks like you've set up show_kleurKader() and show_kleurStuur() to return selected values. You probably meant to pass one of those functions in as the parameter for show_kader(). |