Hi
I want to create a web service in ASP.NET with a function that has an input and output. This WS should be consumed by JavaScript.
I'm looking for a working sample of such code.
Been looking around but nothing seems to work for now
Thanks
not sure what you mean by "a function that has an input and output" your question is sort of vague.. hard to tell what you're asking about.
maybe you want the javascript to make an async call to your asp script?
1. javascript function that gets the data from your page and makes an ajax call to asp...
2. asp page that handles the javascript call
3. a callback function ( #1 includes reference to this piece) that handles the response from piece #2 and updates your page accordingly
here's an example google turned up: http://www.15seconds.com/issue/050526.htm
The search for people who can answer your question continues for as long as needed - until you find the answer you were looking for.
When an answer is posted by someone who was invited (byYedda or by yourself) to answer your question, their answer is marked with a yellow "invited by Yedda".
To be invited to answer other people's questions in your areas of knowledge and interest, be sure to list your favorite topics:
» My Settings My Topics.
Of course, the more helpful your answers are, the more likely you are to be invited to future questions...
Got an answer for hanoch? Would you like to comment on the posted answers, or vote for the one which you think is the best?
Sign up for a free account, or sign in (if you're already a member).
Other people asked questions on similar topics, check out the answers they received:
Other people asked questions on various topics, and are still waiting for answer. Would be great if you can take a sec and answer them