Change image on accordion tab click in Elementor Pro

Facebook
Twitter
Reddit
WhatsApp

Jquery

				
					<script>
    jQuery(function() {
const img = ""; 
  jQuery("#elementor-tab-title-").click(function(){
    jQuery(".toggle-img img").attr('srcset',img);
     jQuery(".toggle-img img").attr('src',img);
  });
});
</script>
				
			
Subscribe
Notify of
0 Comments
Inline Feedbacks
View all comments

More to explorer

How to run Javascript on your Elementor popup

https://youtu.be/WA9v_YrylIU jQuery jQuery(window).load(function() { jQuery.each( elementorFrontend.documentsManager.documents, ( id, document ) => { if ( document.getModal ) { // It’s a popup document

0
Would love your thoughts, please comment.x
()
x

45 Minute Wordpress Support

Get your Wordpress questions answered and your Wordpress issues resolved.