Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 81183
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 10, 20262026-05-10T21:25:12+00:00 2026-05-10T21:25:12+00:00

I have an ASP.Net MVC Ajax.BeginForm that submits and updates my page properly when

  • 0

I have an ASP.Net MVC Ajax.BeginForm that submits and updates my page properly when I click the submit button.

The problem is I need additional events to do the same thing, like when they change the text of an input. The additonal events do properly submit the form but they circumvent the onsubmit javascript generated on the form tag by the Ajax.BeginForm.

Here is the form tag generated by Ajax.BeingForm:

<form action='/Store/UpdateCart' method='post' onsubmit='Sys.Mvc.AsyncForm.handleSubmit(this, new Sys.UI.DomEvent(event), { insertionMode: Sys.Mvc.InsertionMode.replace, updateTargetId: 'updatedContent' });'>  

And here is the jQuery to bind my other events that need to submit the form via Ajax:

 $('#ShippingType, #ViewCart .ddl').bind('change', function() { $('#ViewCartPage form').submit() }); 

Any ideas on how to get these additional events to trigger onsubmit like I need it too?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. 2026-05-10T21:25:12+00:00Added an answer on May 10, 2026 at 9:25 pm

    Decided to just use a regular form and then the jQuery.Form plugin and this worked in 2 seconds! Wish i would have just went this route orginally.

    var options = {    target: '#updatedContent',   // target element(s) to be updated with server response     beforeSubmit: showRequest,  // pre-submit callback     success: showResponse  // post-submit callback          };  $('#ViewCartPage form').ajaxForm(options); 

    Man I love jQuery

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have an ASP.NET MVC site that uses both Microsoft Ajax [ Ajax.BeginForm() ]
I have a Refresh button on my page that will perform an asp.net mvc
i have an asp.net mvc view that with the help of jquery ajax updates
I have the following view definition in my asp.net mvc website: <% Using Ajax.BeginForm(UsrCtlChangePassword,
Possible Duplicate: How to: Back button support “Ajax” I have a ASP.NET MVC implementation
I have an ASP.NET MVC application with a topic page that shows a list
i have the following Ajax.beginform inside my asp.net mvc view, where the result of
I have an ASP.Net MVC 3 application that uses a jQuery .ajax call to
I have an ASP.Net MVC page where I want to use AJAX to update
Inside of an asp.net mvc partial view, I have an Ajax form that posts

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.