Search found 1 match

Go to advanced search

by Tech Xcellent
Thu May 05, 2016 12:12 am
Forum: Issues
Topic: Hide element if storage variable equals the current page.
Replies: 1
Views: 482
 
Jump to post

Hide element if storage variable equals the current page.

Hey Matt, I use this code myself, if the element has no 'data value' present, the element is hidden from sight. It should work for you, no idea how you'll use it though. $("textarea.hide-textarea").each(function(){ if(!$(this).val()){ $(this).hide(); } }); This part: textarea.hide-textarea...

Go to advanced search