Page 1 of 1

Help with Changing text and disable footer buton

Posted: Fri Mar 20, 2015 11:29 pm
by Gonzalo Nalbandian

Hello everyone,
I have a footer buton called buton1.
When the page where the button is shows, I execute a javascript with a countdown, and when it reached 0 I need to disable the button and to change its text.

Could you help me with this, I have tried several convinations but neither had worked for me.
i.e.
document.getElementById("button").innerHTML = "New text"
document.getElementById("button").disabled = true;

Apperyio('button').text("New text");
Apperyio('button').attr('disabled', 'disabled');

Thanks.


Help with Changing text and disable footer buton

Posted: Sat Mar 21, 2015 8:38 am
by Evgene Karachevtsev

Help with Changing text and disable footer buton

Posted: Sun Mar 22, 2015 10:45 pm
by Gonzalo Nalbandian

Thanks Evgene. I'll check that out.