Hi,
First: sorry for my english
I'm php programmer but pretty new with jQuery (few days of developing). I have a situation using tabs which is dynamicly generated and loaded from external php file.
I have search results (links) with values separated by "/". Click on link open a new tab. In that tab should be few links with similar functionality.
Problem is, in the page source i can't find generated tabs.
There is a jQ function
$("a#add_tab").bind("click", function(){
event.preventDefault();
var link= $(this).attr("href");
var tar=link.split("/");
$("#tabs").tabs("add","#tab-"+tab_counter,tar[2]);
$("#tabs").tabs("select", "tab-"+tab_counter);
$("#tab-" + tab_counter ).load('ajax/test.php?target='+tar[0]+'&id='+tar[1] );
tab_counter++;
}
And there is another problem, in Google Chrome and Safari ewerything works fine, but event.preventDefault won't works in Mozilla. In ie works nothing about tabs.
So, I hope you are understanding my proble. Help please :)
Siniša