Sign In| Join
Get Help:Ask a Question in our Forums|Report a Bug|More Help Resources
Star
11118 Points
1997 Posts
Jun 28, 2010 07:26 AM|LINK
there is many way, but for this you need to add a function in webservice.
<script type="text/javascript" src="script/jquery-1.3.2.min.js"></script> <script type="text/javascript"> $(document).ready(function() { $('#Customers').change(function() { $.ajax({ type: "POST", contentType: "application/json; charset=utf-8", url: "FetchCustomer.asmx/GetCustomer", data: "{ CustomerID: '" + $('#Customers').val() + "'}", dataType: "json", success: function(data) { $("#CustomerDetails").html(data.d); } }); }); });</script>http://forums.asp.net/p/1564134/3889173.aspx#3889173http://francstratton.com/jQueryAJAXCall.aspxhappy coding
happy coding
nareshguree2...
Star
11118 Points
1997 Posts
Re: calling web-service by jQuery and bind results in jQgrid in asp.net 3.5
Jun 28, 2010 07:26 AM|LINK
there is many way, but for this you need to add a function in webservice.