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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 18, 20262026-05-18T11:32:19+00:00 2026-05-18T11:32:19+00:00

I have a <form /> with a text box, and an <input /> button.

  • 0

I have a <form /> with a text box, and an <input /> button.

an example can be seen here: http://jsfiddle.net/94sJa/

I’d like to have another button to the right of the first button, but outside the context of the form. Its sole purpose is to reload the page, so it doesn’t need to be in the form. Plus, I don’t want to submit a search query when the user clicks Reset, as would be the case when they click Search.

Is there an easy way for me to align the two buttons?

for the sake of it, the HTML and CSS are here also:

<div class="layout-fund-search-groupfactsheet">

    <form method="get" action="/uk/groupfactsheet/schroders">
        <input type="text" value="" name="Search" id="Search" />

        <input type="submit" class="button-medium" value="Search" />
    </form>

    <input type="submit" class="button-medium" value="Reset" />
</div>

.layout-fund-search-groupfactsheet
{
    padding: 10px 20px;

    border: 1px solid #E7DFD0;

    height: 20px;    
}

.layout-fund-search-groupfactsheet input[type=text]
{
    width: 300px;
}
  • 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-18T11:32:20+00:00Added an answer on May 18, 2026 at 11:32 am

    If you just need to reload the page with that button, you can well put it INSIDE the form and it would not make any problem. Just don’t add a name attribute to that reload button.

    The actual reloading would be done by javascript (I guess), so no problem. Like this:

    <form method="get" action="/uk/groupfactsheet/schroders">
            <input type="text" value="" name="Search" id="Search" />
    
            <input type="submit" class="button-medium" value="Search" />
            <input type="button" class="button-medium" value="Reset"
                                   onclick="window.location.reload()" />
    </form>
    

    Working fiddle: http://jsfiddle.net/fthAS/

    • 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 text form that contains numerous decimal fields that are optional.
I've got this HTML form where I have multiple input elements: text, radio, and
I have a form with a textbox and a button. IE is the only
If I have .Net Form with a component/object such as a textbox that I
I have a form with checkboxes and then text to the right of the
I have several strings in the rough form: [some text] [some number] [some more
I have a TextBox control on my Form. I use the Leave event on
I have several ASP:TextBox controls on a form (about 20). When the form loads,
I have a bunch of controls (textbox and combobox) on a form with toolstripcontainer
Say I have a Textbox nested within a TabControl . When the form loads,

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.