I'm creating a basic ASP.NET MVC app. I want to use jquery to have two buttons submit the form in different ways. The error I get is "Object expected".
Here are the buttons:
<input type="button" id="StartTask" value="Start" onclick="StartTask()" />
<input type="button" id="StopTask"  value="Stop"  onclick="StopTask()"  />
Here are my script tags:
<script src="~/Scripts/jquery-1.3.2.js"       type="text/javascript" />
<script src="~/Scripts/jquery-1.3.2-vsdoc.js" type="text/javascript" />
<script type="text/javascript">
    $("#StartTask").click(function() {
        $.post("/Home/StartTask");
    });
    function StopTask() {
        $.post("/Home/StopTask");
    }
</script>
The functions are different because I'm trying different things.
With the jquery includes, Both buttons give me "Object Expected".  With no jquery includes, the start button bombs on $("#StartTask") and the second bombs on $.post().
EDIT: Added controller method
[AcceptVerbs(HttpVerbs.Post)]
public ActionResult StartTask()
{
    return View();
}
What basic, noob step am I missing?
Bonus: Can someone point me to a tutorial that would have helped me with this misstep?
 
     
     
     
     
    