I am iterating a list and setting a property in the hidden field. List is iterated and displayed in viewable mode.. When i click on edit all the list items are shown editable... at this time i m getting an extra space because of hidden.. could you suggest a solution for this.
Anoop Pillai
Greenhorn
Joined: Oct 05, 2008
Posts: 9
posted
0
You can apply a style="display:none;" to the hidden field. By doing this it won't take up the extra space.
Ex: <input type="hidden" value="text" name="hid1" id="hid1" style="display:none;">
The Next Best Thing To Knowing Something Is Knowing Where To Find It.
Bear Bibeault
Author and opinionated walrus
Marshal
Anoop Pillai wrote:You can apply a style="display:none;" to the hidden field.
Completely unnecessary.
Lisa Bowman
Greenhorn
Joined: Sep 21, 2010
Posts: 2
posted
0
I too am having problems with this. If someone could help, I would be most appreciative:
Here is a snippet of my code:
hiddenField is kept in a separate css file:
This is still not working for me. Any suggestions/help would be greatly appreciated.
Thanks,
Lisa
Lisa Bowman
Greenhorn
Joined: Sep 21, 2010
Posts: 2
posted
0
The individual who said that it was probably a mark-up issue was correct. I was not encapsulating the hidden fields in a <td></td> tag in my page. They were just hanging out in space. Thanks for the inadvertent help.
subject: HTML hidden fields takes white space in IE6