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:
- <ul>
- <li>
- <a href="../../person/view/<?php echo $id1 ?>" data-toggle="tab">Person1</a>
- </li>
- <li>
- <a href="../../person/view/<?php echo $id2 ?>" data-toggle="tab">Person2</a>
- </li>
- </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).