Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums JavaScript Image change on load

  • This topic is empty.
Viewing 1 post (of 1 total)
  • Author
    Posts
  • #24440
    patriotfan
    Member

    I have a smiley on a page. When you go to the page, I want that smiley’s image source to change.
    I’m a noob at javascript, but I was thinking something like this:

    Code:
Viewing 1 post (of 1 total)
  • The forum ‘JavaScript’ is closed to new topics and replies.