|
![]() |
#1 |
Registered User
Join Date: Jul 2015
Posts: 129
|
Give your image an id. Then you can do this in your javascript. document.getElementById("blaah").src="blaah"; You can use the ".___" method to change the value of any attribute of any element.
__________________
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts. | To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts. | To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts. | To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts. |
![]() |
![]() |
![]() |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
What is the difference between javascript and HTML?? | eook.joc | Graphic Design | 20 | 03-12-2020 02:02 AM |
Definitive Javascript to hide email address? | ncjbhd | Javascript | 2 | 06-09-2014 05:27 AM |
Good programming techniques: Minimizing javascript | skywalker101 | Javascript | 7 | 03-19-2014 03:48 AM |
Google launches Dart as a JavaScript killer | kitchin | 0 | 10-11-2011 12:47 AM | |
Single javascript across multiple pages. | mjvndhsb | HTML / DHTML | 0 | 09-28-2011 02:07 AM |