Radio buttons with temp variables

Hey all, I’m trying to get a pic to pop up when a radiobutton is clicked. I figured out how to do it if the radiobutton is assigned as a story variable, but not a temporary variable (_diff). How can I make jquery see this? Thanks!

<div style="border:1px; display:flex;">\
<div style="width:96px; display:inline-block;">\
<label><<radiobutton "_diff" "normal">>Normal</label> 
<label><<radiobutton "_diff" "hard">>Hard</label>
</div>\
<div id="setpic" style="width:130px; display:inline-block;">\
</div>\
</div>

<<done>>
	<<script>>
		$("#radiobutton-diff-0").on("click", function (event) {
			$("#setpic").empty().wiki("<img class='inv' src='misc/diffsetting1.jpg'>");
		});
		$("#radiobutton-diff-1").on("click", function (event) {
			$("#setpic").empty().wiki("<img class='inv' src='misc/diffsetting2.jpg'>");
		});
	<</script>>
<</done>>

Twine Version:
2.61

If I recall correctly, the IDs will be slightly different for temporary variables. Use the inspector and check what the IDs are.

It’ll probably be another hyphen/minus or something like that.

Aha, two hyphens, yes.