Click here to Skip to main content
15,907,392 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I have three hidden fields in ContentPlaceHolder
i have update the value of hidden field using jquery for
example: $("#ctl00_ContentPlaceHolder1_hidLikesValue").val(fina.toString());
if i put alert the value is alive
but i cant get the value in codeing part
for example: string Likes = hidLikesValue.Value;
there is no value in hidden field

this is happening only in IE and Opeara, but perfectly working in firefox
i dont know why the hidden field value not properly writing in (IE,Opera)
Please give your suggestions
Posted
Updated 3-May-13 23:56pm
v2

1 solution

finally i reveled the answer friends ,
i was put the hidden fields at bottom of the page,
in IE ,opera executing the code from top to bottom so the script executed first and then only hidden fields are registered.
so i put the hidden fields before the script part,
so now hidden fields are registered first and then script is running
so it can update the value in hidden field perfectly.
 
Share this answer
 
v2

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