i have to click two times in my label to do the correct thing that i want.
the first time that i click works, then when i click it show something different
<div class='form-row'>
<div class='col-md-12'>
<label class='labeldata' style='cursor: pointer;'>" + settaData(i.periodi) + "</label>
</div>
</div>
$('.labeldata').click(async function(e){
sessionStorage.scambio= e.target.innerText; // get the value
sessionStorage.crx= 11111; // run the routine of my pgm
Bottone('B1001');
})
2
Answers
ok it was my problem sorry, the Jquery code is correct