K
K
Konstantin Klubkov2019-09-06 07:57:36
PHP
Konstantin Klubkov, 2019-09-06 07:57:36

What is the way to implement it?

There is a site https://sokora56.ru/
In the header there are tabs and a submission form. How can I pass the value of the active tab to the form?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
O
ocatoll, 2019-09-06
@klubkov94

Tab header itself?
If it's clumsy, then something like this on jquery
var activeTab = $('.tabs_btns .current').text(); // tab title here
Add a hidden field to the form, after that you can assign the tab value to it.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question