Answer the question
In order to leave comments, you need to log in
How to pass value to fancybox?
Hello. How to pass the desired value to the fancybox form?
The form where you want to display the value:
<div id="dialog-content" style="display:none;max-width:500px;">
<h2>Hello, world!</h2>
<p>
<input type="text" value="" />
</p>
<p>
text
</p>
</div>
<a href="#" id="get_data" value="'.$data["id"].'" class="indigo-text"
data-fancybox="dialog" data-src="#dialog-content"><i class="fas fa-long-arrow-alt-up" aria-hidden="true">Открыть</i></a
>
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