[eluser]Mr.CodeIgniter[/eluser]
i use ajax with jquery library
and i need to put ajax result in <div> .
Code:
$.get("<?=$CI->config->item('base_url')?>/RegAjax/NewTab/"+tab_counter, function(data){
$("#tabs-"+tab_counter).append(data);
});
if you see the code in {function(data...etc} i want get ( tab_counter ) from out
the function.
how i can do it.