JSFiddle - React, Tailwind, and code Playground

HTML

<div id="slideit">
    <div id="slideit-bg"></div>
    <div id="slideit-content">
        some content
    </div>
    
</div>

CSS

#slideit, #slideit-bg{
    width:700px;
    height:391px;
    position: relative;
}
#slideit-content{
    position: absolute;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
}

JavaScript

jQuery(document).ready(function($) {
	 $(window).load(function() {           
		var i =0; 
		var images = ['http://dl.dropboxusercontent.com/u/96099766/ChangeBackgroundJQuery/image2.png','http://dl.dropboxusercontent.com/u/96099766/ChangeBackgroundJQuery/image3.png','http://dl.dropboxusercontent.com/u/96099766/ChangeBackgroundJQuery/image1.png'];
		var image = $('#slideit-bg');
		image.css('background-image', 'url(http://dl.dropboxusercontent.com/u/96099766/ChangeBackgroundJQuery/image1.png)');
		setInterval(function(){			
			image.fadeOut(1000, function () {
			image.css('background-image', 'url(' + images [i++] +')');
			image.fadeIn(1000);
			});
			if(i == images.length)
				i = 0;
		}, 5000);            
	})
	});