$(function () { var returnsValue; // Type: wijtabs // Parameters var url; // Type: string var label; // Type: string var index; // Type: number returnsValue = $(".selector").wijtabs("add", url, label, index); });
Parameters
- url
- A URL consisting of a fragment identifier only to create an in-page tab or a full url (relative or absolute, no cross-domain support) to turn the new tab into an Ajax (remote) tab.
- label
- The tab label.
- index
- Zero-based position where to insert the new tab.