Generally, parameter values cannot exceed 16 bits. If it exceeds 16, it is replaced with 0, resulting in us not being able to query the results we want.
When encountering this problem, we make the following modifications
Write the attributes ourselves
Original:
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; } Handling garbled characters
Copy code
The code is as follows:
window.open(encodeURI(url),'_blank');