I have a series of images that the user can click on. When the user clicks on one of the images, I want to replace the contents of div#Video with a jquery variable. I tried using .html("$" + this.id), but this isn't working. Do I need to use a different function? Thank you!
<div id="Video">Video Title Goes Here</div>
<img id="Agency" alt="Agency with Doug" src="myImage.png" />
$Agency = '<h4>You are now viewing Agency with Doug Video.</h4>';
$("#Video").html("$" + this.id);