Answer the question
In order to leave comments, you need to log in
How to pass data to fancybox modal window?
Good day! Please tell the ignorant one =(((
There is a page for example index.php in it some big code and all sorts of variables are all displayed on the page as it should and put a button button on the page which pulls up the questionnaire template through fancybox.
$good['name'];
$good['id'];
<div class="actions">
<button class="actions-primary-button" type="button" data-fancybox data-type="ajax"
data-src="/box.php">Оставить отзыв</button>
</div>
Answer the question
In order to leave comments, you need to log in
although this variable is on the page index.php ie.Although it is not on the box.php page. And the box.php page doesn't know what happened in index.php.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question