I'm mapping a value back from a web service to the visibility element on an image. Originally I had values returned of "false" that didn't have an impact on the display. A few weeks (months?) ago I saw a post to add the following javascript to the returned value:
if (value == 'false'){
element.hide();
}
When implemented several weeks ago in another area on this project, it worked great. Now that I'm using this same approach on another area, it no longer works.
The javascript executes when triggered and rather than hide the element, it changes the image element to "display: block". I had tried the following:
if (value == 'false'){
Tiggzi('img_archive').css('display', 'none');
}
But this didn't do anything. Something changed recently in Tiggzi's ability to hide elements. Let me know how to correct the problem.