Questions tagged [hidden]

Hidden could refer to a style value in CSS for the visibility property, a selector in jQuery, a possible value for the type attribute of an input or to an `HTML5` attribute.

Hidden could refer to a style value in CSS for the visibilityproperty, a selector in jQuery, a possible value for the type attribute of to an input or an HTML5 attribute.

For files, use .

See:

2114 questions
39
votes
1 answer

how to make tar exclude hidden directories

When I want to exclude directories when taring, I typically use syntax like this: tar -zcf /backup/backup.tar.gz --exclude="/home/someuser/.ssh" /home/someuser How can I modify this to exclude all hidden directories, for example, in addition to…
user788171
  • 16,753
  • 40
  • 98
  • 125
37
votes
6 answers

Check div is hidden using jQuery

This is my div Then I have a Show button that will show the div when you click: $("show").click(function() { $("$car2").show(); }); So right now I want to check if the div #car2 is still hidden…
cyberfly
  • 5,568
  • 8
  • 50
  • 67
35
votes
2 answers

Hidden property of a button in HTML

I am trying to show three buttons on one button click. Before a button click all three buttons are hidden. I set the hidden property and I am also calling a function on a button click. The problem is that when I load the page all buttons are…
ashah142
  • 560
  • 1
  • 5
  • 12
34
votes
2 answers

jQuery: Given a selector, find only its visible elements

This should be an easy one. I have a variable that I've already declared called $listItems. The declaration looks like this: var $listItems = $ul.children('li'); // $ul is just a selected unordered list Later in my code, I'd like to only get the…
Matt
  • 23,363
  • 39
  • 111
  • 152
34
votes
4 answers

how to hide/show a button in swift

I'm trying to have an if statement that will make a button hidden when a label displays a certain status, and appears when the label says something else. The name of the label is Status, and when it shows "Closed", I want it hidden, and when it…
Tom F
  • 361
  • 1
  • 3
  • 7
33
votes
2 answers

Only in Safari - position:fixed child cut off when parent is position:fixed and overflow:hidden

I'm only seeing this issue in Safari (6.1 os x) When a parent element is set to position:fixed; overflow:hidden and a child element is set to position:fixed and part of it overflows the parent, it gets cut off. Check out this jsfiddle in Chrome and…
Throne Creative
  • 343
  • 1
  • 3
  • 6
33
votes
3 answers

Ignore all hidden div but not one in jQuery validation

I am using jQuery validation in my form http://jqueryvalidation.org/documentation/ I want to add the validation to all my fields but I want to ignore the hidden div's that have the class my_item. So here is my jQuery: $("#myform").validate({ …
novellino
  • 1,069
  • 4
  • 22
  • 51
32
votes
1 answer

How to send hidden data

I have a form(like the one below for example) where I type data, but I also want to send data which are not directly entered by the user, for example a generic Id(for a user in this case)
Username:…
user2556079
  • 624
  • 3
  • 9
  • 23
31
votes
8 answers

CSS: Can you prevent overflow: hidden from cutting-off the last line of text?

When using CSS overflow: hidden , I've often found that the last line of text gets partially cut-off. Is there a way to prevent this so that any partial lines do not show-up. Almost like a vertical word-wrap.
29
votes
4 answers

Make one div visible and another invisible

I have two div tags, one is for the search and the other is for the results. What I need is for when the submit button is clicked the results are returned and placed into the results div (with an iframe) and the search div should become hidden and…
mattgcon
  • 4,768
  • 19
  • 69
  • 117
28
votes
2 answers

Hiding an element: Difference between Javascript attribute and CSS style

I wonder if there is any difference in the result when hiding an element with JavaScript attribute or CSS Style. For example: element.setAttribute("hidden", true); vs element.style.visibility = "hidden"; I experimented a bit with those two…
Jbartmann
  • 1,459
  • 4
  • 24
  • 42
28
votes
8 answers

Basic Hidden field in yii

I'm trying to place data in hidden text in yii, but I don't know how. I need a similar code to a regular php syntax: It's supposed to be a field with static value of a. I just need it to go with…
marchemike
  • 3,179
  • 13
  • 53
  • 96
28
votes
7 answers

Make a File/Folder Hidden on Windows with Java

I need to make files and folders hidden on both Windows and Linux. I know that appending a '.' to the front of a file or folder will make it hidden on Linux. How do I make a file or folder hidden on Windows?
Kryten
  • 3,843
  • 5
  • 37
  • 42
26
votes
7 answers

How do you add/remove hidden in

How do you add and remove 'hidden' from ? I tried removing the attribute and setting it to false but neither of them worked. let p = document.getElementsByTagName('p'); let myText; for (i = 0; i < p.length; i++) { …
Skywarp
  • 989
  • 3
  • 15
  • 32
26
votes
6 answers

How do I write to a hidden file?

I am using the TextWriter to try to write to a hidden file, and it is throwing an exception. I can't seem to figure out how to write to a hidden file. using (TextWriter tw = new StreamWriter(filename)) { tw.WriteLine("foo"); …
esac
  • 24,099
  • 38
  • 122
  • 179