0
edits
Changes
no edit summary
* This filter will look for Level 3s attached to the current level 2 with a value from the variable "exType" in the custom field 1301787:
var od=grs.getfieldbyname(1,'oprid');
===Escaping Apostrophes===
When searching a text field that may contain an apostrophe (') you need to add a backslash in front of the apostrophe so it is not interpreted as closing the text string:
* The following filter can be used to search the company name field for the name in the '''cname''' field on the page.
var filter = " name='"+frm.cname.value.replace(/'/g,"\\'")+"'";
[[Category:Pandora]]