Tag Link | [LJAX_HasTarget] | Category | LJAX |
---|---|---|---|
Type | Substitution | Source Available | Yes |
Support | Preferred | Version | 8.5 |
Change | New | Data Source | Any |
Output Type | Boolean | Security | None |
Implementation | Sets | Lasso 8.5 |
[LJAX_HasTarget] accepts the same parameters as the opening [LJAX_Target] tag and returns True if the contents would be included on the current call. This allows LJAX logic to be integrated into custom conditional statements. This tag should only be used when a page is part of an LJAX
Lasso pages can accept a
The [LJAX_HasTarget] tag accepts a
If specified with a
[LJAX_HasTarget:
[LJAX_HasTarget:
[LJAX_HasTarget:
Optional Parameters | |
---|---|
-AnyTarget | If specified then the tag will return True when the page is called with any LJAX target. |
-NoTarget | If specified then the tag will return True when the page is called with no LJAX target. |
-Target | Accepts either a string or an array of strings. If specified then the tag will return True if the specified target or targets is called. |
This tag was added in Lasso 8.5.2.
See the Lasso 8 Language Guide for examples of how to use this tag.