buttons not doing anything when clicked?

hoping someone can help me figure out why the button codes arenot working for my site - see below

<input class="btn btn-ghost right" type="button" value="Get early access" href="http://sayhello.xxxxx.co/">

          <input class="btn btn-red" type="button" value="Download" href="http://sayhelloe.xxxxx.co/twitter.xls">
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Rainer JeschorCommented:
what do you expect to happen?
Are you using any kind of Javascript framework on your page?
An input type button does normally not have an attribute of href.

If you want to change the url of the current page, then use this:
<input class="btn btn-ghost right" type="button" value="Get early access" onclick="window.location='http://sayhello.xxxxx.co/';" >

          <input class="btn btn-red" type="button" value="Download" onclick="window.location='http://sayhelloe.xxxxx.co/twitter.xls';">

Open in new window


Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
finnstoneAuthor Commented:
i would like the site to change , without opening a new indow

just this
  <script src="js/vendor/modernizr-2.6.2-respond-1.1.0.min.js"></script>
Rainer JeschorCommented:
then my provided solution should work.
Big Business Goals? Which KPIs Will Help You

The most successful MSPs rely on metrics – known as key performance indicators (KPIs) – for making informed decisions that help their businesses thrive, rather than just survive. This eBook provides an overview of the most important KPIs used by top MSPs.

finnstoneAuthor Commented:
that didnt work, while it fixed the error, made button look weird...

also, i actually would like to make it open a small window instead of loading the url in the full window...could you help there?
finnstoneAuthor Commented:
finnstoneAuthor Commented:
my mistake , fixed it. thx!

but could you also tell me how to open a little window instead of the same window that site is loaded in.
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.