Thank you all for your help, fishing rod.
Hello everybody,
Is it possible to call a web service (on my localhost) from jquery on a simple HTML page inside an asp.net 2.0 web application using visual studio 2005?
<script type="text/javascript">
$(document).ready(function(){
$('#button1').click(function(){
$('#targetDiv').load('http://localhost/testservice/Service1.asmx/HelloWorld',null,function(){alert('test')});
});
});
</script>
Am I having a 500 error? Not sure if this is possible to do so?
thanks, core
source
share