Ok, hopefully this one is easy and I just dont understand how it is
happening.
I am using the following code to catch clicks on links inside of my
tabs.
<script language="javascript">
$.listen('click','a',function(e){
var pos = strrpos(e.target, '/') + 1;
var goto = substr(e.target, pos);
$.get(goto, function(data){ $('#ui-tabs-11').html(data); });
return false;
});
</script>
It works, but only just. When you click on a link, it fires off a lot
of calls to the new page, not just one to get the data and return it.
Any thoughts?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"jQuery UI" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/jquery-ui?hl=en
-~----------~----~----~----~------~----~------~--~---