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 3320192
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 17, 20262026-05-17T22:54:51+00:00 2026-05-17T22:54:51+00:00

i try to build an autosubmit with the Jquery Form Plugin . for example

  • 0

i try to build an autosubmit with the Jquery Form Plugin.

for example

$("#my_form").change(function(){
  document.my_up_form.submit();    
});

The file upload and everything works but i get a page reload. I dont understand that.
When use the normal submit button it works (no page reload).

Can somebody tell me what the different between a normal <input type="submit" value="go" /> and the document.myform.submit(); is?

Thanks in advance!
Peter

UPDATE
Hi Lee,
thank you very much for the fast answer.

This document.my_up_form.ajaxSubmit(); will not work but this $('#my_up_form').ajaxSubmit(); do the job.

But know i have a new the problem .. i dont get a answer.

Whats wrong know?

$('#my_up_form').ajaxForm({dataType:  'json', success:   processJson});
function processJson(data)
{
  if(data['success'] == true)
  {
     alert('true');
  }
  else
  {
     alert('false');
  }
}
  • 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. Editorial Team
    Editorial Team
    2026-05-17T22:54:51+00:00Added an answer on May 17, 2026 at 10:54 pm

    The jquery ajaxForm modifies the submit button so that it calls ajaxSubmit() instead of the browser’s normal action. When you call submit() you’re invoking the browser’s normal action. you should call ajaxSubmit() instead.

    $("#my_form").change(function(){
      document.my_up_form.ajaxSubmit();    
    });
    

    Check the “API” tab on the same documentation page you linked.

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

Sidebar

Related Questions

I try to build my first plugin. That far I came yet: (function( $
i try to build a function that converts every date to a timestamp. JS
I try to build a map with the content of a file and my
I try to build a crawler or a atuomatic downloader for each file is
I try to build a Eclipse plugin that has to use a self written
I try build wrap panel with vertical buttons. Every button consist from image and
I try to build a JSF 2.0 Web application which is using libraries including
I try to build a nice box with only 1 image and 1 div.
I try to build a metro-style-app with Javascript and when I run the Windows
i try to build a app that is in landsscape mode all the time.

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.