Hello again.
I have a problem with click event.
I want to develop cool music album management.
I imagine that this way i have 3 tabs, in first tab is included php file, second and third are blank. Php file ahows list of albums, and on click on some album another tab populates by ayax load.
$("p.albico").bind("click", function(){
var albind = $(this).attr("id");
$("#tabovi").tabs("select", "album");
$("#album" ).load('ajax/prikalb.php?id='+albind
);
});
That works. i get album info, but when I click on elements which should populate third tab i got nothing.
Second function is similar like first
$("div.cdsel").bind("click", function(){
var num = $(this).attr("id");
$("#tabovi").tabs("select", "cd");
$("#cd" ).load('ajax/prikcd.php?id='+albind+'&cd='+num );
});
Does anybody knows reason why it won't work.
Thanks in advance.