Click here to Skip to main content
15,890,388 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
I would like to know how to hide the value '400' on pageload and to show whenever I require.
Here is my code:

<input readonly="readonly" type="text" name="remLen" size="3" maxlength="3"
value="400" style="z-index: 1; left: 1305px; top: 402px; width:20px; height:13px; font-size:x-small; position: absolute" />

Thanks.
Posted
Comments
Mahesh Bailwal 29-Jun-13 11:10am    
What do you mean by hide value 400?
Sergey Alexandrovich Kryukov 29-Jun-13 23:58pm    
Right. I would say, the question makes no sense at all.
—SA

1 solution

you can add the runat="Server" tag to input type and in page load assign the value of the input type to hidden variable and clear the input value when you need the value assign back the Input value from the hidden variable
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900