Connexion | Inscription | FAQ
Anonymous

Why isn't this working?

+ Publier une réponse

5 messages Page 1 sur 1


Why isn't this working?

par SantoPerdido » Sam Jan 27, 2018 8:02 pm

Using GoDaddy web builder. The code itself renders as planned, but when you click the link, nothing happens. The button reacts,
but doesn't actually go to the page.
Code: Tout sélectionner
<center>
<form>
<input style="width: 300px; padding: 20px; cursor: pointer; box-shadow: 6px 6px 5px; #999; -webkit-box-shadow: 6px 6px 5px #999; -moz-box-shadow: 6px 6px 5px #999; font-weight: bold; background: #228B22; color: #ffffff; border-radius: 10px; border: 1px solid #999; font-size: 150%;" type="button" value="Find Out More" onclick="window.location.href='http://elchoneteranch.com/contact-us' " />
</form></center>
Avatar de l’utilisateur

SantoPerdido

  • Messages: 4
  • Inscrit le: Sam Jan 27, 2018 7:59 pm

Re: Why isn't this working?

par SantoPerdido » Dim Jan 28, 2018 12:41 am

Anyone have some insight?
Avatar de l’utilisateur

SantoPerdido

  • Messages: 4
  • Inscrit le: Sam Jan 27, 2018 7:59 pm

Re: Why isn't this working?

par SantoPerdido » Dim Jan 28, 2018 12:41 am

Anyone have some insight?
Avatar de l’utilisateur

SantoPerdido

  • Messages: 4
  • Inscrit le: Sam Jan 27, 2018 7:59 pm

Re: Why isn't this working?

par SantoPerdido » Dim Jan 28, 2018 11:07 pm

I thought this would be an eady one for the experts.
Avatar de l’utilisateur

SantoPerdido

  • Messages: 4
  • Inscrit le: Sam Jan 27, 2018 7:59 pm

Re: Why isn't this working?

par taynguyenem » Mar Fév 13, 2018 8:40 am

SantoPerdido a écrit:Using GoDaddy web builder. The code itself renders as planned, but when you click the link, nothing happens. The button reacts,
but doesn't actually go to the page.
Code: Tout sélectionner
<center>
<form>
<input style="width: 300px; padding: 20px; cursor: pointer; box-shadow: 6px 6px 5px; #999; -webkit-box-shadow: 6px 6px 5px #999; -moz-box-shadow: 6px 6px 5px #999; font-weight: bold; background: #228B22; color: #ffffff; border-radius: 10px; border: 1px solid #999; font-size: 150%;" type="button" value="Find Out More" onclick="window.location.href='http://elchoneteranch.com/contact-us' " />
</form></center>


Hi
I think in the code [onclick="window.location.href='http://elchoneteranch.com/contact-us'] is problem.
You should have a javacript code individual.
Ex:
<script>
$('id or class').onclick(function(){window.location.href='http://elchoneteranch.com/contact-us'});
</script>

Hope help for you.
Avatar de l’utilisateur

taynguyenem

  • Messages: 20
  • Inscrit le: Lun Fév 05, 2018 3:28 pm
--
Preview site only Html: teamviewdownload.com, winrarfree.net


+ Publier une réponse

Page 1 sur 1