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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 14, 20262026-06-14T01:14:59+00:00 2026-06-14T01:14:59+00:00

I have two pages that both display the same loading image after clicking the

  • 0

I have two pages that both display the same loading image after clicking the submit button. Here is a snippet of my code:

<div class="content">
    <img src="/images/stroomschema.png" style="padding: 10px;">
    <form method="post" action="/result" enctype="multipart/form-data">
        <h3>1. Selecteer een PDF-print van je rooster.<a href="instruction.html" target="_blank"><img src="/images/questionmark.png" /></a></h3>
        <input type="file" name="infile" id="roosterIn"/>
        <h3>2. Klik op onderstaande knop om het rooster voor te bereiden.</h3>
        <input type="submit" name="upload" value="Selecteer eerst een rooster" id="submitIndex" disabled="disabled" />
    </form
    <img src="/images/loading.gif" style="display: none;" class="loading_image">
    <br>
    <h5><a href={{ logout_url }}>Uitloggen</a></h5>
</div>
</div>
<script>
    $('#roosterIn').change(function() {
        $('#submitIndex').removeAttr('disabled');
        $('#submitIndex').attr('value', 'Volgende')
    })

    $('input[type=submit]').click(function() {
        $('.loading_image').attr('style', 'display: block;')
        $(this).parents('form').hide()
        $(this).parents('form').submit()
    })
</script>

The weird thing is that the .loading_image image is never showing. If I inspect the page in chrome then it shows the following code:

<div class="content">
    <img src="/images/stroomschema.png" style="padding: 10px;">
    <form method="post" action="/result" enctype="multipart/form-data">
        <h3>1. Selecteer een PDF-print van je rooster.<a href="instruction.html" target="_blank"><img src="/images/questionmark.png" /></a></h3>
        <input type="file" name="infile" id="roosterIn"/>
        <h3>2. Klik op onderstaande knop om het rooster voor te bereiden.</h3>
        <input type="submit" name="upload" value="Selecteer eerst een rooster" id="submitIndex" disabled="disabled" />
    </form
    <br>
    <h5><a href={{ logout_url }}>Uitloggen</a></h5>
</div>
</div>
<script>
    $('#roosterIn').change(function() {
        $('#submitIndex').removeAttr('disabled');
        $('#submitIndex').attr('value', 'Volgende')
    })

    $('input[type=submit]').click(function() {
        $('.loading_image').attr('style', 'display: block;')
        $(this).parents('form').hide()
        $(this).parents('form').submit()
    })
</script>

The entire image tag is missing, how is this possible?

  • 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-14T01:15:00+00:00Added an answer on June 14, 2026 at 1:15 am

    The img tag isn’t there because you are missing the closing > on your </form> tag.

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

Sidebar

Related Questions

I have a MasterPage that has two image buttons , and two content pages,
I have a pair of views in my application that both display the same
I have an ASP.NET page that contains two div's. Both have search fields and
I have two pages that inherit from one master page, First.aspx or second.aspx. Navigation
I have two pages, one that edits user information, and one that edits information
I have two questions, both related to the same view: so there is view
Hello I am trying to display two different html pages through the same UIViewController
I have two fields on an MVC3 form that must represent the same value.
I have two pages, Page A and Page B. Both of them have an
Kind-of a crazy question here... I have a view display that's set up as

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.