JSFiddle - React, Tailwind, and code Playground

HTML

<form id="measure">
    <div id="tip-age" style="display:none;"><iframe src="http://player.vimeo.com/video/34676931?title=0&amp;byline=0&amp;portrait=0&amp;color=781E19&autoplay=0" width="300" height="171" frameborder="0" webkitAllowFullScreen mozallowfullscreen allowFullScreen></iframe></div>
    <input type="text" class="show-hidden-div" id="age" />
    <br /><br />
    <div id="tip-age2" style="display:none;"><iframe src="http://player.vimeo.com/video/34676931?title=0&amp;byline=0&amp;portrait=0&amp;color=781E19&autoplay=0" width="300" height="171" frameborder="0" webkitAllowFullScreen mozallowfullscreen allowFullScreen></iframe></div>
    <input type="text" class="show-hidden-div" id="age2" />
    <br><br />    
<input type="submit" hidden="">
</form>

JavaScript

/*
$("#age").focusin(function() {
    $("#tip-age").show();
}).focusout(function () {
    $("#tip-age").hide();
});
*/



$(".show-hidden-div").click(function() {
    var inputId = $(this).attr('id');
    $("#tip-"+inputId+"").show();
});