Click here to Skip to main content
15,896,474 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
Hello friends,

How can we save a data, which is inside javascript, to the database at a page that was done by Asp.NET (when page is refreshed, closed or changed to another page)?
Posted
Comments
bbirajdar 10-Dec-12 9:10am    
Assign the values from the javascript to the hidden field server controls and then save to database
ZurdoDev 10-Dec-12 10:52am    
Or, call a webservice. jquery's ajax call.

1 solution

u can use webservice or webmethod...
 
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