The Lodge is members-only design/dev videos and Office Hours.

Next Office Hours Session: "Implementing an SVG Icon System" Nov 30 - 6:00 PM Eastern

Find and change in js

  • # January 20, 2013 at 3:43 pm

    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)

You must be logged in to reply to this topic.

There's a whole bunch of content on CSS-Tricks.

Search for Stuff   •   Browse the Archives

Get the Newsletter ... or get the RSS feed