I have long list of products and in each product i have form:如何實現跳轉到<a name=... in post form
<form action="index.php" method="post">
<input type="hidden" name="prodid" value="<?= $id ?>" />
...
</form>
I want to jump to product on call action like:
<a href="#prodid<?= $id ?>">jump to product</a>
...
<a name="prodid<?= $id ?>"></a>
but i must use post method. In get method I would use this:
<form action="index.php#prodid<?= $id ?>" method="get">
...
</form>
How to do it?
的技術是一樣的,它只取決於通過GET或POST ......我不understant得到變量問題在哪裏? – jackJoe