JQuery Tabs - Content Via Ajax - Same Url Issue

JQuery Tabs - Content Via Ajax - Same Url Issue

Dear,

I'm trying to create a JQuery Tab with two tabs (using content via Ajax, like this  http://jqueryui.com/tabs/#ajax ), each one with the same URL but with different arguments. Like below:
    1. <ul>
    2.       <li>
    3.             <a href="../../person/view/<?php echo $id1 ?>"  data-toggle="tab">Person1</a>
    4.       </li>
    5.       <li>
    6.             <a href="../../person/view/<?php echo $id2 ?>" data-toggle="tab">Person2</a>
    7.       </li>
    8. </ul>
                The problem is that only the first tab works (only the Person1 view loads). If I change the order (Person1 <=> Person2), only the first tab loads again (only Person2 view loads).