0 Replies - 901 Views - Last Post: 08 May 2009 - 10:08 AM Rate Topic: -----

#1 Amber-Rao  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 6
  • Joined: 03-May 09

How to retrive value of javascript control into session in asp.net

Post icon  Posted 08 May 2009 - 10:08 AM

i want to retrive value of textbox into session in asp.net using C# language.


<form name="counter">
<input type="text" size="8" name="d2">
</form> 

<script> 
<!-- 
// 
 var milisec=0 
 var seconds=30 
 document.counter.d2.value='30' 

function display()
{ 
 if (milisec<=0)
{ 
	milisec=9 
	seconds-=1 
 } 
 if (seconds<=-1)
{ 
	milisec=0 
	seconds+=1 
 } 
 else 
	milisec-=1 
	document.counter.d2.value=seconds+"."+milisec 
	setTimeout("display()",1000) 
} 
display() 
--> 
</script> 



Is This A Good Question/Topic? 0
  • +

Page 1 of 1