Forum Discussion
JessicaStarkey
2 years agoCommunity Member
Need Button To appear When Text Is Entered
Hi,
I need a button to appear after typing some text in a box. I can't get it to appear unless the learner clicks outside of the box. How can I get it to appear after they type a few words?
The...
PhilMayor
2 years agoSuper Hero
You should be able to use
let inputs = document.getElementsByTagName('input');
function fnBlur(e) {
e.target.blur();
e.target.focus();
}
for (let index = 0; index < inputs.length; ++index) {
inputs[index].addEventListener("keyup",fnBlur)
}
To blur and refocus the text entry field
https://360.articulate.com/review/content/3c9f4b1e-ca64-42ec-8a89-e3979bd4dcff/review
ArmandoGarcia
2 months agoCommunity Member
Is there any reason why this would not work with a SL Question block?