how to send to another page from disfigured boot?

Asked

Viewed 37 times

-2

I’m not getting it! I have this boot that I saved from my old site.. Someone can give me a light?

my html structure and the following:

<!DOCTYPE html>
<html lang="pt-BR">
  <head>
      <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
      <link href="file:///Users/deobran/Desktop/ml2/escolha%20frma%20de%20envio/endaddenvio_arquivos/spa.css" rel="stylesheet" type="text/css">
      <link href="file:///Users/deobran/Desktop/ml2/escolha%20frma%20de%20envio/endaddenvio_arquivos/cart-core_ui__large-8a4dd5edfa.css" rel="stylesheet" type="text/css">
      <link href="file:///Users/deobran/Desktop/ml2/escolha%20frma%20de%20envio/endaddenvio_arquivos/cho__large-1b07b8ca17.css" rel="stylesheet" type="text/css">

      <body> 
          <div data-js="shipping-options-region" class="shipping-options-container">
             <section data-js="shipping-options-group-0" class="delivery-options">
                 <div>
                    <div class="shipping-options-group">
                       <h3 class="block-title">!!!!</h3>
                       <div class="shipping-options-list-container">
                            <ul class="cart-package__options ui-list__content ui-list " data-js="shipping-options-list">
                                 <li class="ui-list__item ui-list__item--selected">
                                     <form data-id="shipping-option-104830550300001"   data-state="selected" data-js="shipping-option-form" class="shipping-option-form" method="post">

                                          <button type="submit"  name="selectedShippingOption" >

                        <div class="cart-package__option-button u-ripple-effect--active u-ripple-effect" >
                            <div class="cart-package__shipping-box">
                                 <div class="cart-package__shipping-header">
                                     <div data-id="shipping-option-name" class="cart-package__shipping__title">
                                         clique aqui!
                                    </div>
                                    <p class="cart-package__shipping__info cart-package__shipping__info-inline">
                                       imperdivel    
                                    </p>
                                 </div>
                             <span class="cart-package__shipping-price">
                             <span class="cart-package__shipping-price-container">
                             <span data-id="shipping-option-price-free" class="shipping-option-price price-free   u-link">


      </body>
   </html>
  • 1

    It’s not clear, explain it better

  • Do the coding before submitting to someone or publishing on the network, it is unpleasant for a programmer to see a disorganized code. It’s like taking a laundry to a seamstress to fix. PHP and there’s a code on PHP. Then your doubt must be about HTML, put the correct tag. Your <form>, which does not appear initially due to misfortune, does not own the property action whose function when sending, specifies where to deliver the form data.

  • 1

    Possible duplicate of Error linking a button to any page

1 answer

1

Your question does not have PHP code, if it really is only html, to send to another page you need only exchange the button for one <a href="link"></a>

  <body> 
      <div data-js="shipping-options-region" class="shipping-options-container">
         <section data-js="shipping-options-group-0" class="delivery-options">
             <div>
                <div class="shipping-options-group">
                   <h3 class="block-title">!!!!</h3>
                   <div class="shipping-options-list-container">
                        <ul class="cart-package__options ui-list__content ui-list " data-js="shipping-options-list">
                             <li class="ui-list__item ui-list__item--selected">
                                 <form data-id="shipping-option-104830550300001"   data-state="selected" data-js="shipping-option-form" class="shipping-option-form" method="post">

                                      <a class="btn btn-default" href="http://google.com" type="submit"  name="selectedShippingOption" > Link </a>

                    <div class="cart-package__option-button u-ripple-effect--active u-ripple-effect" >
                        <div class="cart-package__shipping-box">
                             <div class="cart-package__shipping-header">
                                 <div data-id="shipping-option-name" class="cart-package__shipping__title">
                                     clique aqui!
                                </div>
                                <p class="cart-package__shipping__info cart-package__shipping__info-inline">
                                   imperdivel    
                                </p>
                             </div>
                         <span class="cart-package__shipping-price">
                         <span class="cart-package__shipping-price-container">
                         <span data-id="shipping-option-price-free" class="shipping-option-price price-free   u-link">


  </body>

Browser other questions tagged

You are not signed in. Login or sign up in order to post.