Consuming WebService in javascript(Urgent)
-
Hi All Well I want to consume a webservice using javascript. I want my client to just Copy/Paste small piece of javascript in HTML. Somewhat like Google Adsense and other API's provided by Google. Please suggest any reference Article/ Project to accomplish this....!
All the way from Sialkot ...
-
Hi All Well I want to consume a webservice using javascript. I want my client to just Copy/Paste small piece of javascript in HTML. Somewhat like Google Adsense and other API's provided by Google. Please suggest any reference Article/ Project to accomplish this....!
All the way from Sialkot ...
wEb GuRu... wrote:
Well I want to consume a webservice using javascript
Yeah. It's possible.. You can use XmlHttpRequest object to invoke the webservice.. You should use "POST" instead of "GET" while invoking. (Note: You can use the pure Javascript code to consume the .NET webservice. You don't need to use "htc" for that.) I can give you the example how to comsume the Webservice from Javascript if you want.. I think you probably don't want because there is no relationship between "consuming the webservice from JS" and "I want my client to just Copy/Paste small piece of javascript in HTML. somewhat like Google Ads."
wEb GuRu... wrote:
I want my client to just Copy/Paste small piece of javascript in HTML.
You want your client to copy and paste small piece of Javascript??? so, i will tell them to copy and past. :) btw, who are they??
Thanks and Regards, Michael Sync ( Blog: http://michaelsync.net) "Please vote to let me (and others) know if this answer helped you or not. A 5 vote tells people that your question has been answered successfully and that I've pitched it at just the right level. Thanks."