Generally, the parameter value cannot exceed 16 bits. If the value exceeds 16, the value is replaced by 0, so that we cannot find the desired result. This article describes how to handle this problem. Generally, the parameter value cannot exceed 16 bits. If 16 is exceeded, 0 is used instead, so that we cannot query the desired results.
When this problem occurs, we make the following changes:
Write attributes by yourself
Original:
The Code is as follows:
, <% = Dr. getString ("ID") %>) "> <% = dr. getString (" BT "). trim () +" "%>
The length of the XFORM_ID, MODULE_ID, and ID value exceeds 16.
After modification:
The Code is as follows:
"TagMid =" <% = dr. getString ("MODULE_ID") %> "tagIid =" <% = dr. getString ("ID") %> "onclick =" toProject (this) "> <% = dr. getString ("BT "). trim () + "" %>
The Code is as follows:
ToProject = function (e)
{
Location. href = "<% = path %>/form/" + e. tagFid + ". xform? ModuleId = "+ e. tagMid +" & Info_ID = "+ e. tagIid;
}
Handle garbled characters
The Code is as follows:
Window. open (encodeURI (url), '_ blank ');