Page 1 of 1

How to show/hide DIV from Appery?

Posted: Wed Jan 20, 2016 6:46 am
by B5107656409

Hello All,

How to show/hide DIV from Appery?
trying Appery('bar').hide(); and Appery('bar').show(); does not work :(

<!--
<div id="bar"
<pCurrent Address</p
<p class="auto"<input id="autoc_currentaddress" type="text" </p
<pDestination Address</p
<p class="auto"<input id="autoc_destination" type="text" </p
<pKM remaining to go</p
<p class="auto"<input id="total" type="text" </p
<
--


How to show/hide DIV from Appery?

Posted: Wed Jan 20, 2016 12:38 pm
by Serhii Kulibaba

Hello,

Apperyio('componentName').hide(); and Apperyio('componentName').show(); work only for Appery.io components. If you want to use the same for you custom tags from the HTML component - Please use simple jQuery CSS seleclor for that, e.g:

$("#bar").hide();