I am new to jQuery and I'm having issues calling a webservice.  Here is my code:
 
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" >
<head>
    <title>Untitled Page</title>
    <script src="" type="text/_javascript_"></script>
    <script type="text/_javascript_">
        $(document).ready(function(){
            $.post("wsVast.asmx/HelloWorld",function(xml){
               alert(xml);
            });
        });
    </script>
</head>
<body>
<form method="post" action="">
    <button type="submit" value="submit"></button>
</form>
</body>
</html>
 
 
When I click the button, the webservice works fine, but I get no alert box.  Any ideas?
 
Thanks,
Greg
_______________________________________________
jQuery mailing list
[email protected]
http://jquery.com/discuss/

Reply via email to