Answer the question
In order to leave comments, you need to log in
How to make a transition by link in value when clicking on a button?
<form method="POST" action="/account/pay/">
<div class="col-lg-6">
<div class="form-group">
<select id="template-category" class="form-control">
<option value="online">Через пополнение</option>
<option disabled value="of">Через офис</option>
<option disabled value="of">Через партнёра</option>
</select>
</div>
<div class="form-group">
<label class="control-label" for="template-category">Способ пополнения</label>
<select id="template-category" name="type" class="form-control">
<option value="1" href="/account/pay/">Через карту</option>
<option value="2" href="/account/pay/">Через Яндекс Деньги</option>
<option value="http://site.ru/accout/payeer/" action="/accout/payeer/">Через Payeer (Qiwi)</option>
<option disabled value="4">Через WebMoney</option>
<option disabled value="4">Через PayPal</option>
</select>
</div>
<br><br><br><br>
<p>
<button type="submit" style="width: 100%;" class="btn btn-primary btn-md" id="reviewButton" onclick="location.href=$('select').val();" > Продолжить</button>
</p>
</form>
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question