JSFiddle - React, Tailwind, and code Playground

by TheBuzzer

HTML

<input id="Test1" type="text" value="" />
<input id="Btn1" type="button" value="Put value" />

JavaScript

var x =  {
    'TitleFr': ['', 'Compendium', 'Guide Médical', 'Guide Synthèse', 'Guide Premiers Répondants'],
    'DispoFr': ['', 1, 1, 0, 1]
    };
$('#Btn1').click(function(e) {
    $('#Test1').val(x.TitleFr[1]);
});