jerry4357388
Posts: 0
Joined: Mon Apr 23, 2012 11:46 pm

How do I make a button visible with javascript?

I can't see in the API where to make a button visible. I tried Tiggr("buttonName").show() but it didn't work.

maxkatz
Posts: 0
Joined: Fri Aug 13, 2010 3:24 pm

How do I make a button visible with javascript?

On page load:
code
Tiggr('b1').hide();
/code

on button click:
code
Tiggr('b1').show();
/code

If you use Visible property, you need to select the button and then get the parent
code
Tiggr('b1').parent().show();
/code

We'll fix the selection so you don't need to get the parent().

Return to “Issues”