Hello, I'm trying to make the javascript href bring the contents of another page in php into your source page ...
Well, I do not know if I can explain myself to the point where friends understand what I need ...
But come on ...
I have this code below
<ul id="songs-list">
<li>
<a class="song-link" href="javascript:;" title=""><strong>01</strong> Titulo 01 </a>
<div class="single-song">
<div class="song-links">
<a class="close-btn" href="javascript:;" title="Voltar"></a>
<div class="song-links-img">
<img style="margin:-50px 0 0 -50px;" src="fancybox/img/escada.jpg" width="369" />
</div>
</div>
<h1><strong>01</strong> Descrição do Produto 01 </h1>
<div class="entry" style="overflow-y: hidden; padding: 0px; width: 100px;">
<div class="jspContainer" style="width: 100px; height: 530px;">
<div class="jspPane" style="padding: 0px; top: 0px; width: 100px;">
</div></div></div>
<span class="song-sides left-side"></span>
<span class="song-sides right-side"></span>
</div>
</li>
</ul>
This is working at link .
But I would like this href below:
<a class="song-link" href="javascript:;" title=""></a>
Be adapted with this code below:
<a href="prod_index_marca.php?codmarca=<?php echo $res['codigo'];?>"><?php echo $res['nome_marca'];?></a>
So that when the user searches for the brand brings all the products related to the selected brand, according to the link .
I do not know if I can express myself so that friends can help me.
But I am willing to clarify any doubts.
Hugs to all, and thanks to my attention for my doubt.