Click here to Skip to main content
15,919,028 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
i have textarea like

<textarea id="GetTextArea1" name="GetActivityText[1]" aria-hidden="true"></textarea>

and in source code i get as

XML
<textarea id="GetTextArea1" style="visibility: hidden; display: none;" name="GetActivityText[1]" aria-hidden="true"></textarea>


then i add textarea from jquery and it shows ,

<textarea id="GetTextArea2"  name="GetActivityText[2]" aria-hidden="true"></textarea>

also , when i save both , 

the value for GetTextArea[2] is shown in code behind (i.e. aspx.cs code page)  , and for GetTextArea[1] value is blank



pls advice
Posted
Comments
Kornfeld Eliyahu Peter 13-Jan-14 7:26am    
Your first textarea has display:none - so it's invisible, how it should get value?
maulikshah1990 13-Jan-14 7:27am    
how to remove it for all new inserting texareas

1 solution

hi mauliksha90,

here is the complete sample please refer to the following link

Click Here to see the complete example

I am sure it will definitely helps you

Thanks
 
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