Hello everyone! I ask for help in solving a small problem.
The dynamic page has a Facebook button (user contact). The button is connected to the database, to the Facebook data field (URL). How to collapsed a button if the URL data field is empty.
Hi Nikolay,
You can use something like:
if ( url === ‘’ ) {
$w ( ‘#button1’ ). collapse ();
}
good luck,
Asaf
Thank You!