473,466 Members | 1,312 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Cant hide text box in IE but is hidden in Chrome and Firefox

2 New Member
I have a text box on a form that I have set to fill with pre-defined text when the user navigates to my page. I want the text box hidden from the user so they can not view the text that is in the box. I have the entire table row element "hidden" from the user and I have used several methods for this...
hidden = "true"
visible = "false"
style="visibility:hidden;display:none;"
For each of these the intended outcome is recognized in Chrome, Firefox and Safari browsers (the text box is hidden from the user but still contains the information necessary. However, in IE the text box is still being displayed to the user. While it does have the text required still inside of it I really wish to hide this element from the user. Can anyone help me with this issue?

update:
I am getting the same behavior if I put the section I am trying to hide from the user inside of it's own <div> tag, that is to say that it is still NOT being hidden from the user in Internet Explorer (9.0)
Jul 18 '11 #1
4 6391
Plater
7,872 Recognized Expert Expert
Why not just use the hidden input type ?
<input type="hidden" value="Some value you want kept hidden"/>
Jul 19 '11 #2
John Scott
2 New Member
No, this will not work because I do not want the user to even be aware of this text box. The less confusion the better and I don't want them seeing an empty text box thinking something needs to be filled out. Thank you though.
Jul 19 '11 #3
Plater
7,872 Recognized Expert Expert
Hidden fields are not shown to the user. They are a basis of HTML.

http://www.w3schools.com/tags/att_input_type.asp

http://www.w3schools.com/jsref/dom_obj_hidden.asp
Jul 19 '11 #4
Sathish515
1 New Member
@John Scott
Just set the visibility:hidden property in styles
Sep 30 '14 #5

Sign in to post your reply or Sign up for a free account.

Similar topics

7
by: Sabine Jollans | last post by:
Hi, I want to put some words on my homepage so that it is found by search engines. These words should not be visible when viewing the page. I have tried to make background and text the same...
7
by: Mark | last post by:
Hi All, I have a report which is based on a query which is used to produce QC check sheets. I have quite a few text boxes which are used to display questions depending on the value of one...
3
by: Srinu | last post by:
How do i hide status bar in firefox using java script only Plz help me iam new to this group.
5
by: Leszek | last post by:
Hi. I wrote a form that has few text inputs Is it possible to hide unused text input ? Could you show me how? Thanks. Leszek
3
by: JaRudzik | last post by:
Hello Try to add some blank text field and refresh window in IE it is ok but in firefox input hide_show works wrong , why ? Somebody can help me ? I'm not good in JS beacause I'm PHP coder ...
7
by: FP | last post by:
I'm new to Java Script. I'm displaying comments people have made. Below each persons' comment I want to add 2 buttons "Reply" and "Amend". Clicking "Reply" would display an empty text field...
2
by: wolfgang.schwarz | last post by:
hi, is there a way of getting the position and size of a text node in Firefox without altering the DOM? For example, suppose I have a document fragment like this: <div> textnode1 <img>...
4
by: Dan | last post by:
Hi, I know how to show and hide text, but I want to make it so that the page shifts up when I hide my text. Right now with the simple code, it only leaves a blank space. Thanks, Daniel
3
by: ghjk | last post by:
I have a drop down box with two values(yes , no). When i select yes i have to hide text box below that and (it should already hide) and when select 'no' it should apper. How can i do that? i put if...
0
by: jholland13 | last post by:
Hi, I manage a Access 07 dbase as part of my job. I am not very good at programming, no formal training. Most things it does by code I found snippets and modified them. Something I want to do is...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
1
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.