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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 14, 20262026-06-14T18:15:03+00:00 2026-06-14T18:15:03+00:00

When on a phone I’m unable to view these two buttons as they are

  • 0

When on a phone I’m unable to view these two buttons as they are too far apart. I want to make it so after you choose the file, the ‘choose file’ button would be replaced by the upload button. Is this possible. What would i have to do?

http://goawaymom.com/buttons.png

my html –

<form method="post" action="" enctype="multipart/form-data" name="form1">
   <input   name="file" type="file"class="box"/>          
   <input type="submit" id="mybut" value="Upload" name="Submit"/>
</form>

-Note I don’t care to put them on separate lines or make font smaller- etc

  • 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-14T18:15:04+00:00Added an answer on June 14, 2026 at 6:15 pm

    Simplest Way:

        <form method="post" action="" enctype="multipart/form-data" name="form1">
            <input   name="file" type="file" onchange="if($(this).val().length){$(this).hide().next().show()}" class="box"/>         
            <input type="submit" id="mybut" value="Upload" style="display:none;" name="Submit"/>
        </form>     
    

    Without Jquery, Only JavaScript

        <form method="post" action="" enctype="multipart/form-data" name="form1">
            <input   name="file" type="file" onchange="this.nextElementSibling.style.display = 'block'; this.style.display = 'none';" class="box"/>         
            <input type="submit" id="mybut" value="Upload" style="display:none;" name="Submit"/>
        </form> 
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Any phone numbers that begin with these ranges correct: ex: 772123322 The length is
I have a phone caller id device. I want to record calling numbers to
I want my windows phone app to communicate with a desktop app (in Windows),
In phone gap iphone application,I want to display local notification at regular interval.So how
Silverlight windows phone 7. Listbox with selectionmode multiple. How to make certain items selected
I wanna validate a phone number. My condition is that I want mimimum 7
Windows Phone 7.5 Silverlight app I want to let the user drag the image
Windows phone 7 standard pictures app has very nice flicking through images (choose concrete
Say I have a phone-number validator in flex and I have two TextInput controls
I have phone and email textboxes on a Windows Form that I want to

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.