I'm learning Jquery and catching it not even a convict.
I created a function in the js file like this:
$(function abrir_qd1(variavel){
$(this).click(function(){
$("#quadro1").load('arquivo.php?v=' + variavel); //carrega conteudo
});
});
and the function is called via an html link:
<a onclick="abrir_qd1('var_enviada')" class="list_nome_aguard">click aqui</a>
And through an alert I discovered that the problem that varivel arrives in the function like this:
arquivo.php?v=function (a,b){return new p.fn.init(a,b,c)}
I'm not sure how to handle it here.
Thank you in advance