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

Home Forums JavaScript Find and change in js

  • This topic is empty.
Viewing 1 post (of 1 total)
  • Author
  • #42135

    I’m literally just starting out with learning html, css and js so forgive my newbieness but I’m wondering if it would bepossible to find and change an image on a wp site using js?

    To cut a long story short I want to identify the image that’s attached to an h1 class and swop it for a different image depending on the h1 text. Would that be possible and anyone able to offer some pointers?

    Thanks in advance

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