alexa

is it possible to redirect to another page with id from the previous page in js ?

is it possible to redirect to another page with id from the previous page in js ?
 <!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>Document</title>
  </head>
  <body>
    <div class="main">
      {% for data in library_dataset %} 
      Shop name:
      <br />
      <br />
      {{ data.shop_name }} <br />
      {{ data.adress }} <br />
      <td><a href="{% url 'update_shop' data.id  %}">
    <button type="button" class="btn btn-primary">Edit Shop Details</button>
    </a>
</td>

      {% endfor %}
    </div>
  </body>
</html>

286 0
7

Write a Comments


* Be the first to Make Comment

GoodFirms Badge
GoodFirms Badge

Fix Your Meeting With Our SEO Consultants in India To Grow Your Business Online

Facebook
Twitter
LinkedIn
Instagram
Whatsapp
Call Now
Quick Inquiry