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

  • Home
  • SEARCH
  • 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 7980625
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 4, 20262026-06-04T10:07:57+00:00 2026-06-04T10:07:57+00:00

I am having trouble using nested ajax calls with selectors. I have a section

  • 0

I am having trouble using nested ajax calls with selectors. I have a section of html code called “mysection that is replaced by an ajax call to $(“mysection”).load(“/nextpage”).
The “nextpage” is a barebone html form with id = “signin” that uses ajax jquery form to manipulate the data. So my jquery code basically looks like:

 $(document).ready(function() {
     $("#signin").submit(function() {
          $(this).ajaxSubmit(options);
          return false;
     });
 });

If I run this, I would get an error: Uncaught TypeError: Object # has no method ajaxSubmit
However, if I go to the “nextpage” normally (self.location=) without using ajax’s $().load() call, everything works fine. I tried fixing this problem by replacing “this” with “#signin” and “mysection” and they all don’t work. Please help, I really want the form to dynamically load onto the page, without refreshing the whole page.

Thank You

  • 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-06-04T10:07:58+00:00Added an answer on June 4, 2026 at 10:07 am

    I’m not sure that’s possible to interact with the Submit mecanism ( understand that it’s possible to trigger it but I think for security reasons there’s no way to change the way it’s uploading data ).

    You could do 2 things:

    1. Listen to onSubmit, and overload the data loading ( meaning that the form will never “load” by itself, you just catch event and transfer to ajax loading )
    2. Catch onSubmit, hide your form and display an iFrame containing what you wanna load.
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am having trouble with my nested form. I am using Ryan Bates' code.
I am having trouble using JQuery with ASP.net. I have a HTML img ,
Anybody having trouble using AVFoundation with GC ON??? What I am experiencing is that
I'm having trouble with and RSpec view test. I'm using nested resources and the
I'm having trouble figuring out the proper way to update nested data using Google
I have a couple of basic Rails problems that I'm having trouble finding relevant
I'm having trouble using an argument from my class in one of that class's
I'm having trouble using special characters with &-notation in ruby on rails forms. Have
I have a simple problem that I'm having trouble thinking around: var oldValues :
I am having trouble with some Ruby on Rails code. I have a data

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.