I'm just starting to figure out JavaScript so a general basic question warning applies to my posts for the next several months
This code will change "yes" to "no" but won't change "no" to "yes":
if(web_visible='Yes')
{
web_visible='No';
}
else
{
web_visible='Yes';
}
controller.saveData();
I'm trying to get a button to toggle between "yes" and "no" when activated.