Loading...
 
Skip to main content

PuginJQ HTML encodes > sign which results in script syntax error

Status
Closed
Subject
PuginJQ HTML encodes > sign which results in script syntax error
Version
7.x
Category
  • Error
Feature
Wiki Plugin (extends basic syntax)
Resolution status
Invalid
Submitted by
Ushindi Gedeon
Lastmod by
Ushindi Gedeon
Rating
(0)
Description

When using > to compare values in pluginJQ it will html encode the > sign:


if($("#itemExist").length > 0)
{
$("#editItemForm1").parents("td:first").hide();
}
else
{
//something else
}

Should be:

if($("#itemExist").length > 0)
{
$("#editItemForm1").parents("td:first").hide();
}
else
{
//something else
}

Solution
Workaround
Priority
25
Demonstrate Bug on Tiki 19+
Demonstrate Bug (older Tiki versions)
Ticket ID
3987
Created
Thursday 08 September, 2011 11:09:20 UTC
by Merbster
LastModif
Thursday 02 July, 2026 10:06:03 UTC


Show PHP error messages