Click here to Skip to main content
15,889,693 members
Please Sign up or sign in to vote.
1.00/5 (3 votes)
I want to fetch column value from table in javascript.
Posted
Updated 1-Dec-19 19:55pm
Comments
Maciej Los 30-May-12 8:38am    
Where is a problem?

1 solution

I want to fetch column value from table in javascript.
Database will be on server side. So you need to use techniques that will allow you to talk to server from JavaScript.

There are few ways to interact with server side through client side(Javascript):
1. XMLHttpRequest[^]
2. Callback[^]
3. WebService call[^]
4. PageMethod[^]

Try the one that suits you.
 
Share this answer
 
Comments
Manfred Rudolf Bihy 30-May-12 8:53am    
That sums the options up quite nicely! 5+

Oh wait, there's more: Just to confuse OP we could also mention the server-push method via The Bayeux Protol.

Cheers!
Sandeep Mewara 30-May-12 13:46pm    
:) Thanks.

BTW, I published a tip last week, do have a look at it and share your comments: http://www.codeproject.com/Tips/384425/Server-side-Delimiters-in-ASP-NET
Maciej Los 30-May-12 8:55am    
+5!
Sandeep Mewara 30-May-12 13:46pm    
Thanks losmac

BTW, I published a tip last week, do have a look at it and share your comments: http://www.codeproject.com/Tips/384425/Server-side-Delimiters-in-ASP-NET
BobJanova 30-May-12 11:46am    
Good job answering this in a non-snide fashion, +5

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